Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pdchapin@unix.amherst.edu (PAUL D. CHAPIN)
Subject: Re: C2 + NIS question
Date: 1996/01/09	[thread overview]
Message-ID: <4cu6ji$9i7@amhux3.amherst.edu> (raw)
In-Reply-To: 4cluj7$65h@mn5.swip.net

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




  parent reply	other threads:[~1996-01-09  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-01-06  5:00 C2 + NIS question Marek Pola
1996-01-09  5:00 ` Yaacov Fenster
1996-01-09  5:00 ` PAUL D. CHAPIN [this message]
1996-01-11  5:00   ` Saul Tannenbaum
1996-01-15  5:00     ` Pat Wilson
1996-01-15  5:00       ` PAUL D. CHAPIN
1996-01-19  5:00       ` Saul Tannenbaum
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox