Re: One user ID for all users
Posted in 2000
Firstly, educate your admin, any attempt to make a program handle UNIX security is not only silly but extremely dangerous. UNIX security mechanisms are there for a reason, use them. Rant aside, you can always do what our legacy stock control system does, fire up the client and make the user login there, then it holds the 'user' in a variable. However you will have endless trouble tracking locks down unless you note the session id as a user connects and store that with the 'user' variable.. Again, use the unix user-id option, much better idea. brett "Kevin J. Burdish" wrote: > > Hey gang! > The System Admistrator and the Application Developer here want to get > all users to log in with the same UNIX user ID for the application. This > would make their lives easier... In turn I'm sure this will make my life > harder (as it usually does!) > especially when trying to track down who has something locked etc. Can > someone give me the pros and cons of doing this? > I know Pro: we don't have to add and delete UNIX user id's every time a > new user wants to use the system. > and Con: It may not be possible to track down who has a lock on > something, who is using more resources etc. > > I'm sure there is a lot more, but can anybody advise me on what they > have done?? > > Please respond to kevin_burdish@timeinc.com as well as to the newsgroup. > > Thanks in advance! > Kevin -- ----------------------------------------------------------------- Brett's seventh law of UNIX administration... People never get tired of calling support. ----------------------------------------------------------------- Brett Geer - UNIX Admin/Analyst/Programmer - Intratex Holdings. Tel. +27 31 717 4000 Direct. +27 31 717 4146 Fax. +27 31 717 4001 ----------------------------------------------------------------- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots.... So far, the Universe is winning. -----------------------------------------------------------------