Subject: Re: No password required for su after upgrade !
To: None <netbsd-users@netbsd.org>
From: Dunric <dunric@centrum.cz>
List: netbsd-users
Date: 01/18/2005 11:59:21
> Od: "Dunric" <dunric@centrum.cz>
> Komu: <prlw1@newn.cam.ac.uk>
> CC: <netbsd-users@netbsd.org>
> Datum: Tue, 18 Jan 2005 02:45:03 +0100
> Predmet: Re: No password required for su after upgrade !
>
> > Od: Patrick Welche <prlw1@newn.cam.ac.uk>
> > Komu: Dunric <dunric@centrum.cz>
> > CC: netbsd-users@netbsd.org
> > Datum: Mon, 17 Jan 2005 17:36:28 +0000
> > Predmet: Re: No password required for su after upgrade !
> >
> > On Mon, Jan 17, 2005 at 12:20:05PM +0100, Dunric wrote:
> > > I upgraded NetBSD 2.0 to current from sources and now any user can su to root without password.
> > > Yep, I've read /usr/src/UPDATING, I've run postinstall -s /usr/src -d / fix. Postinstall was unable to fix x11 config files only.
> > > After postinstall nd etcupdate I've found /etc/pam.d empty so I tried to copy manualy pam config for su from /usr/src/etc/pam.d but it solved nothing.
> > > 
> > > What have to be done for authentication to be working again ?
> > 
> > When exactly did you upgrade? (If you have src/usr.bin/su/su.c version 1.64,
> > pam shouldn't be an issue..)
> > 
> > Cheers,
> > 
> > Patrick
> 
> I've used cvs snapshot. Su version is 1.58 so it may be the reason. I'll update.
> 
> Thx for your time

I can confirm updating to newer build has removed the problem.

Regards