From: CSBVAX::MRGATE!info-vax-RELAY@KL.SRI.COM@SMTP 20-JUL-1988 21:17 To: ARISIA::EVERHART Subj: Re: Group Logicals at Startup Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Thu, 14 Jul 88 20:08:26 PDT Received: by ucbvax.Berkeley.EDU (5.59/1.28) id AA25169; Thu, 14 Jul 88 19:27:28 PDT Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 14 Jul 88 06:00:40 GMT From: att!icus!limbic!gil@ucbvax.Berkeley.EDU (Gil Kloepfer Jr.) Organization: ICUS Software Systems, Islip, NY Subject: Re: Group Logicals at Startup Message-Id: <161@limbic.UUCP> References: , <375@stsci> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com In article <375@stsci> morrow@stsci.EDU (Andy Morrow) writes: |>From article , by mdeleo@lynx.northeastern.EDU: |>> I was wondering if anyone out there knows who to set-up a group |>> logical "automatically" so that it has the following parameters: |>> [kernal] [shareable,group] |>> [protection=(RWED,R,R,)] [Owner=[5,0]] |>> -->>Name::: (LNM$Group_000005) |>> I can get it to put in everything but the [kernal]. |>> Michael Deleo |>> mdeleo@lynx.northeastern.edu |>> acm_md@nuhub.northeastern.edu The way I have seen best to define group logicals on bootup is to make a command procedure with a lot of $ DEFINE/GROUP's in it, then run it as a detached process, with /UIC=[xxx,yyy] where xxx is the group ID you wish to define group logicals for, like: $ RUN/DETACH/UIC=[xxx,yyy]/INPUT=your-command-file SYS$SYSTEM:LOGINOUT (please no flames for errors in syntax, I have no orange binders in front of me on this one! :-) The next problem is getting [Kernel] set on your logical name. The only way of doing this that I know of is to make a small program which calls the define logical (I don't remember the name, you can look it up in the system services manual) service with the kernel mode bit set. DEC used this in an (unnamed) software package as a license "protection" scheme. I just was wondering how to get rid of the *&^% logical name at the time! The program you use to do this is relatively simple. Anyhow, you would run this program which defines your kernel-mode logical from the command file mentioned above. Hope this helps! +------------------------------------+----------------------------------------+ | Gil Kloepfer, Jr. | Net-Address: | | ICUS Software Systems | {boulder,talcott}!icus!limbic!gil | | P.O. Box 1 | Voice-net: (516) 968-6860 | | Islip Terrace, New York 11752 | Othernet: gil@limbic.UUCP | +------------------------------------+----------------------------------------+