Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* C2 + NIS question
@ 1996-01-06  5:00 Marek Pola
  1996-01-09  5:00 ` Yaacov Fenster
  1996-01-09  5:00 ` PAUL D. CHAPIN
  0 siblings, 2 replies; 7+ messages in thread
From: Marek Pola @ 1996-01-06  5:00 UTC (permalink / raw)


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.

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?

Marek Pola
Tetra Pak, Lund, Sweden




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C2 + NIS question
  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
  1 sibling, 0 replies; 7+ messages in thread
From: Yaacov Fenster @ 1996-01-09  5:00 UTC (permalink / raw)


In article <4cluj7$65h@mn5.swip.net>
marek.pola@mailbox.swipnet.se (Marek Pola) 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.

The prpasswd map isn't exported/pushed by default. Edit the file /var/adm/Makefile
and change the action for "all:" to also build prpasswd (Defined later in the file).
The whole course of action is described in the Security Manual.

> 
> 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.

Do you mean that you want them to use the passwords in the passwd map (that aren't kept
in synch with those in prpasswd ) ?

You also might want to consider exporting the /tcb hiearchy using NFS instead of NIS.



% -------------------------------------------------
% Yaacov Fenster		(603)-881-1154  DTN 381-1154
% y.fenster@ieee.org	       fenster@star.enet.dec.com 
% Policy 1: All phone calls are to be returned right away.
% Policy 2: All e-mail messages are to be responded to (and hopefully resolved)
%           within 24 hours of reading.
% All the opinions voiced are mine alone and do not reflect anyone else's 
% opinion. (Including my employer's).




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C2 + NIS question
  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
  1996-01-11  5:00   ` Saul Tannenbaum
  1 sibling, 1 reply; 7+ messages in thread
From: PAUL D. CHAPIN @ 1996-01-09  5:00 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C2 + NIS question
  1996-01-09  5:00 ` PAUL D. CHAPIN
@ 1996-01-11  5:00   ` Saul Tannenbaum
  1996-01-15  5:00     ` Pat Wilson
  0 siblings, 1 reply; 7+ messages in thread
From: Saul Tannenbaum @ 1996-01-11  5:00 UTC (permalink / raw)


In article <4cu6ji$9i7@amhux3.amherst.edu>, PAUL D. CHAPIN (pdchapin@unix.amherst.edu) wrote:

> 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.

What he said.

We attempted to turn on NIS and C2 last week, and found it to be
absolutely and completely unworkable for all those reasons, as
well as a few others.

Frankly, I find this extraordinary. Didn't Digital ever test this
stuff before it made it out into the real world? 

It's not as if this is subtle. Turn it on, put up a modest load,
and you've created your own denial of service attack on yourself.

	- Saul
-- 
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |
                Communications Services    |http://www.tufts.edu/~stannenb



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C2 + NIS question
  1996-01-15  5:00     ` Pat Wilson
@ 1996-01-15  5:00       ` PAUL D. CHAPIN
  1996-01-19  5:00       ` Saul Tannenbaum
  1 sibling, 0 replies; 7+ messages in thread
From: PAUL D. CHAPIN @ 1996-01-15  5:00 UTC (permalink / raw)


Pat Wilson (paw@coos.dartmouth.edu) wrote:
: What they said.  Furthermore, there's apparently no way to get
: shadow passwords (the *only* thing I want) without getting the
: rest of it.  Boo, hiss.

I also wanted the ability to give some users privileges between Joe
User and God.  I'm pretty sure this is part of the C2 definition, but
apparently it's a separate product from DEC, with more stuff I don't
want.

--

Paul Chapin
Unix Systems Manager
Amherst College




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C2 + NIS question
  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
  0 siblings, 2 replies; 7+ messages in thread
From: Pat Wilson @ 1996-01-15  5:00 UTC (permalink / raw)


stannenb@emerald.tufts.edu (Saul Tannenbaum) writes:

>In article <4cu6ji$9i7@amhux3.amherst.edu>, PAUL D. CHAPIN (pdchapin@unix.amherst.edu) wrote:

>> 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.

>What he said.

What they said.  Furthermore, there's apparently no way to get
shadow passwords (the *only* thing I want) without getting the
rest of it.  Boo, hiss.


--
Pat Wilson
paw@coos.dartmouth.edu



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C2 + NIS question
  1996-01-15  5:00     ` Pat Wilson
  1996-01-15  5:00       ` PAUL D. CHAPIN
@ 1996-01-19  5:00       ` Saul Tannenbaum
  1 sibling, 0 replies; 7+ messages in thread
From: Saul Tannenbaum @ 1996-01-19  5:00 UTC (permalink / raw)


In article <4de19k$do5@dartvax.dartmouth.edu>, Pat Wilson (paw@coos.dartmouth.edu) wrote:
> stannenb@emerald.tufts.edu (Saul Tannenbaum) writes:

> >In article <4cu6ji$9i7@amhux3.amherst.edu>, PAUL D. CHAPIN (pdchapin@unix.amherst.edu) wrote:

> >> 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.

> >What he said.

> What they said.  Furthermore, there's apparently no way to get
> shadow passwords (the *only* thing I want) without getting the
> rest of it.  Boo, hiss.

I see a pattern emerging here.

Has _anyone_ gotten C2+NIS working for a large, high-number-of-logins-per-hour,
system?

Do the good folks from Digital, who I know are reading this, have any
comment on whether this works today or in some future version?

	- Saul

-- 
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |Finger for PGP public key
                Communications Services    |http://www.tufts.edu/~stannenb



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1996-01-19  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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