Subject: Re: Upgrade to 2.0 and passwd problems
To: Tyler <email@example.com>
From: Steven M. Bellovin <firstname.lastname@example.org>
Date: 03/02/2005 13:31:55
In message <email@example.com>, Tyler writes:
>Steven M. Bellovin wrote:
>> In message <firstname.lastname@example.org>, Tyler writes:
>>>I've juste upgraded my netbsd 1.6 to 2.0.1. All seems to work excpet one
>>>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 ?
If you built with -U you're ok; the problem may be in how you did the
installation. Did you specify -p to tar?
--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb