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