From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6f9d44c3b4e2c385 X-Google-Attributes: gidfee84,public From: Peter Mayne Subject: Re: shadow passwords Date: 1996/05/14 Message-ID: <31981144.6B5D@cao.mts.dec.com>#1/1 X-Deja-AN: 154708369 references: <31851EDB.68AD@mtu.cl> <3186DF0A.7BD8@cao.mts.dec.com>,<4m7mte$de6@dartvax.dartmouth.edu> <4mqjtf$q3r@corn.cso.niu.edu> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation (Australia) mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.01I (WinNT; I) system@niuhep.phys.niu.edu wrote: > > In article <4m7mte$de6@dartvax.dartmouth.edu>, > paw@coos.dartmouth.edu (Pat Wilson) writes: > > > >While it's true that "secsetup" is the happy command to turn on > >C2 security (which is the only way to get shadow passwords), running > >"secsetup" will _not_, I repeat _not_, pull the passwords out of > >/etc/passwd (though it does set up all of the hellish /tcb/files/auth > >mess for each user). You must remove the encrypted passwords from > >/etc/passwd *by hand* (use a perl script - it's easiest). When you turn C2 on, the passwords from /etc/password are used. When a user logs in for the first time after C2 being turned on, the users password is marked as expired and the user must change the password. The user's new password is stored in /tcb/files/auth. The encrypted passwords that remain in /etc/passwd are therefore the users' previous passwords. Unless you're completely paranoid (and you may well be, and I have no argument with that), knowing a user's previous password won't get you anywhere. So, there's no reason to remove the old encrypted passwords from /etc/passwd. > >Frankly, DEC has made a mess of what _should_ be a very simple thing. > >I do not _want_ C2 security, I JUST WANT SHADOW PASSWORDS! > > agreed What parts of C2 don't you want? -- PJDM Digital Equipment Corporation (Australia), Canberra, ACT -------------------------------------------------------------------------------- These are my opinions, and have nothing to do with Digital. I design Internet Service Providers. It's a job.