Path: utzoo!utgpu!water!watmath!clyde!att!mtunx!pacbell!ames!mailrus!iuvax!bsu-cs!cfchiesa From: cfchiesa@bsu-cs.UUCP (Christopher Chiesa) Newsgroups: comp.os.vms Subject: Re: Login.com question Summary: Login.Com by levels Message-ID: <3326@bsu-cs.UUCP> Date: 23 Jun 88 16:47:59 GMT References: <880614235635.204008b0@UWYO.BITNET> Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 38 In article <880614235635.204008b0@UWYO.BITNET>, mwalters@UWYO.BITNET (Michael Joe Walters) writes: > > I work with a structure that I will draw a picture of > (a picture is worth a thousand words?). [so is disk space. picture deleted. - CFC] > [... 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. Normally I would have said, "yes, it's easy: have each user maintain a LOGIN.COM which, at the beginning, contains statements along the lines of $ @DIVISION_LOGIN $ @ DEPT_LOGIN ... but your last clause betrays this solution: "... and IF IT EXISTS, the account level next." That implies that you want to do all this WITHOUT the necessity for the user to have a LOGIN.COM in his own directory, that which I would have considered the simplest solution. Perhaps you want to avoid grant- ing each user control over which Division and/or Department LOGIN.COM he exe- cutes; fair enough. The only other alternative of which I'm aware is the system-level login, named I believe SYLOGIN.COM ; not sure what directory that's in because I'm not a sys- tems person myself. At that point, you'd have to invoke a utility program to match up usernames to departments and divisions. It ought not require any modification to VMS, just a bit of programming within the existing system.. (Hey, here's an idea -- hire ME! I'm a recent graduate, good in VMS, and am available... e-mail if interested! ;-) ) -- UUCP: !{iuvax,pur-ee,uunet}!bsu-cs!cfchiesa cfchiesa@bsu-cs.UUCP