From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,171878f9448a5b6d X-Google-Attributes: gidfee84,public From: pdchapin@unix.amherst.edu (PAUL D. CHAPIN) Subject: Re: C2 + NIS question Date: 1996/01/09 Message-ID: <4cu6ji$9i7@amhux3.amherst.edu>#1/1 X-Deja-AN: 134773929 references: <4cluj7$65h@mn5.swip.net> organization: Amherst College, Amherst MA, USA newsgroups: comp.unix.osf.osf1 Marek Pola (marek.pola@mailbox.swipnet.se) wrote: : Howdy, hackers. : On my company we are using NIS to distribute userids and passwords. I would : like to start using C2 as well, and have tried to implement it. It seems : however that while I can get the client to get all the userids from the NIS : server into the C2 database (/tcb/files/auth/[a-z]/*), it doesn't seem that a : change of password the user makes on a client is propagated back to the NIS : server. You're probably using yppasswd. For reasons that I don't understand, when you put NIS and C2 together you need to go back to using passwd. I had a couple of users who where requested to change their password everytime they logged on to the client. The change, however, appeared to be thrown away. Never solved the problem. : The functionality I would like is that the clients should have a high level of : security, including a need to change passwords at a specified interval, but : also that a user can one day sit down at another client machine, connected to : the same NIS server, and use the same userid and password. This works now when : we only are using NIS. : I'm running Digital Unix 3.2C. : Anyone successful in implementing this? It does work, althought the setup can be a little nasty. Old /tcb/files/auth files really upset the system once you've made the change over. And the adduser and remove user scripts will have to be rewritten again; but you had to do that to start NIS. Also, chfn and chsh command stop working - the relevent info is no longer located where these commands expect. Either you simply stop letting your users change these, or you have to do it for them. Apparently DEC didn't think about this combination initially. When I started they didn't have a clue. When I was having trouble with the new adduser script they actually told me that the best solution would be to drop out of C2, add the user, and then restart C2. Fortunately they had their act pretty much together by the time I gave up on it. I gave up on the combination due to a design problem. When you use NIS and C2 together, all the info that was originally in the /tcb/files/auth files gets dumped into a single new file accessed by NIS - sorry but I forget the name. The problem is that if you have a lot of users doing simple things, like checking their mail, they are constantly accessing this file. And since the file is updated everytime somebody logs on - to change last successful logon and the like - the file has to be locked briefly. The result is that my users were constantly being told that the password data base wasn't available and being locked out. During peak periods, users would have to make repeated attempts before getting on. -- Paul Chapin Unix Systems Manager Amherst College