Subject: Re: Upgrade to 2.0 and passwd problems
To: None <netbsd-users@netbsd.org>
From: Tyler <tyler@agat.net>
List: netbsd-users
Date: 03/02/2005 18:43:24
Steven M. Bellovin wrote:
> In message <d04h0b$738$1@sea.gmane.org>, Tyler writes:
>
>>Hi all,
>>
>>I've juste upgraded my netbsd 1.6 to 2.0.1. All seems to work excpet one
>>thing :)
>>First, with the user tyler I can't execute the command chsh to change my
>>shell : I've got a chsh : /etc/pw00469a : Permission denied. Well I
>>won't make the /etc directory writable for all or for tyler :)
>>What's the problem ?
>>
>>And also I can't su with tyler (he is on the wheel group). i can type
>>the password so the wheel stuff works. but it always says : wrong su
>
>
> Check the permissions on su, chsh, etc. Are they setuid? Did you do an
> unprivileged build without -U?
>
>
ok that's it. Yes I'v used the -U option to build the userland. I can
set the uid bit to 1 for these files. But it will be the same for all
the setuid apps :(
I have to rebuild it without -U option ?