Subject: Re: sshd
To: Teemu Rinta-aho <firstname.lastname@example.org>
From: Julio M. Merino Vidal <email@example.com>
Date: 01/04/2005 21:36:21
On Tue, 04 Jan 2005 22:10:48 +0200
Teemu Rinta-aho <firstname.lastname@example.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.
Julio M. Merino Vidal <email@example.com>
The NetBSD Project - http://www.NetBSD.org/