Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mandrill!musky2!terrell From: terrell@musky2.MUSKINGUM.EDU (Roger Terrell) Newsgroups: comp.os.vms Subject: Re: Login.com question Message-ID: <113@musky2.MUSKINGUM.EDU> Date: 22 Jun 88 15:36:00 GMT References: <880614235635.204008b0@UWYO.BITNET> Reply-To: terrell@musky2.UUCP (Roger Terrell) Organization: Muskingum College, New Concord, OH Lines: 44 In article <880614235635.204008b0@UWYO.BITNET> mwalters@UWYO.BITNET (Michael Joe Walters) writes: > Division > | > | > __________________________________|___________________________________ > | | | | | > | | | | | >Dept. 1 Dept. 2 Dept. 3 Dept. 4 Dept. 5 >| | | | | | | | | | | | | | | | | | | | >| | | | | | | | | | | | | | | | | | | | >| | | | | | | | | | | | | | | | | | | | > >Multiple Multiple Multiple Multiple Multiple >Accounts Accounts Accounts Accounts Accounts > >What I am looking to do (and I am not a technical person) is this. We want >to have LOGIN.COM files or something similiar that reside in the directory of >the Division level and each of the department levels. Then when one of the users >login the LOGIN.COM will be executed on the division level first, the department >level next, and if it exists, the account level next. This is fairly easy to do. I assume that you have a system-wide login.com (SYSLOGIN) already; on our site, that .com file determines whether or not the LOGIN.COM of an individual exists, and runs it if it does. It determines if the file exists by using the OPEN command, jumping to a certain label in the SYSLOGIN file if it receives an error (there is a qualifier to OPEN that lets you do this). If it does not receive an error then it executes the .com file. We also have another .com file that holds extra definitions that we want certain groups to have. We simply get the UIC or GROUP from the F$GETJPI lexical function and, if the person logging in is in the proper group, execute the command file that creates the extra definitions. I hope this helps. If this is not enough information, let me know and I will whip something up and e-mail it to you. --Roger -- Roger Terrell ...musky2!terrell (UUCP) terrell@muskingum.edu (CSNet)