From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5884ec8a2bf93691 X-Google-Attributes: gidfee84,public From: doug.berry@sheridanc.on.ca Subject: Re: Yppasswd As Root Illogical Captain. Date: 1995/07/25 Message-ID: #1/1 X-Deja-AN: 106869378 sender: news@eclipse.sheridanc.on.ca (USENET News System) references: <806153650.6742@sps.siemens.co.uk> <3usi6m$ph5@mrnews.mro.dec.com> organization: Sheridan College newsgroups: comp.unix.osf.osf1 originator: doug@oa-bb19-13.t.sheridanc.on.ca >> 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."