Subject: Re: sshd
To: Teemu Rinta-aho <>
From: Julio M. Merino Vidal <>
List: current-users
Date: 01/04/2005 21:36:21
On Tue, 04 Jan 2005 22:10:48 +0200
Teemu Rinta-aho <> 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, you built as a regular user but missed
to pass '-U' during installation.


Julio M. Merino Vidal <>
The NetBSD Project -