Subject: Re: sshd
To: Teemu Rinta-aho <teemu@rinta-aho.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: current-users
Date: 01/04/2005 21:36:21
On Tue, 04 Jan 2005 22:10:48 +0200
Teemu Rinta-aho <teemu@rinta-aho.org> wrote:

> Today's feature in -current is that I can't
> no longer do 'su -' to become root. I haven't
> changed /etc/passwd nor /etc/group but after
> installing the userland for today I can no
> longer do that. ssh as root to the problem
> machine works well, though.. (thank God!) :-)

You (probably) forgot to preserve permissions during installation,
so 'su' lost its setuid bit.

If installing from .tgz sets using tar, you missed the '-p' flag.

If installing using build.sh, you built as a regular user but missed
to pass '-U' during installation.

HTH,

-- 
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/