Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: doug.berry@sheridanc.on.ca
Subject: Re: Yppasswd As Root Illogical Captain.
Date: 1995/07/25	[thread overview]
Message-ID: <DCACuB.7H6@eclipse.sheridanc.on.ca> (raw)
In-Reply-To: 3usi6m$ph5@mrnews.mro.dec.com

>> It should be a trivial exercise for any competent sysadmin to write
>> a shell script which will blank out the encrypted password field in
>> the source for your NIS database (to be run on the NIS master, of
>> course).  After rebuilding the NIS maps you would then just be able
>> to press `enter' when asked for the original password.
>
>But this leaves a great big security hole (null password) between the
>time that the maps get rebuilt and the time that you change the password.
>Anybody could log on as that user.
>
>PJDM
>--
>Peter Mayne
>Digital Equipment Corporation (Australia)
>Canberra, ACT
>----
>These are my opinions, and have nothing to do with Digital.
>The truth is out there, but not necessarily in here.
>
That window can be narrowed by changing the password as soon as you write out
tha password file... The killer window is when someone changes their password 
while you have the file open.

yp/src/passwd.ptmp  is the _undocumented_ hack to lock the password file from
yppasswdd.  It took us many support calls to DEC to find this.

hope this helps someone...
doug
-- 
quote of the month...
in <199505160421.AA16536@world.std.com> bzs@world.std.com said,

"Rule #1 of systems trouble shooting: It's either angry or hungry."



  parent reply	other threads:[~1995-07-25  4:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-19  4:00 Yppasswd As Root Illogical Captain jim
1995-07-19  4:00 ` Mike Iglesias
1995-07-20  4:00   ` PAUL D. CHAPIN
1995-07-20  4:00     ` Mike Iglesias
1995-07-20  4:00 ` Michael Sternberg
1995-07-21  4:00 ` Ray Bellis
1995-07-21  4:00   ` PAUL D. CHAPIN
1995-07-23  4:00   ` Peter Mayne
1995-07-24  4:00     ` g0daeniken
1995-07-26  4:00       ` Mark W. Watson
1995-07-25  4:00     ` doug.berry [this message]
1995-07-25  4:00 ` Ray Bellis
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