Subject: Re: su won't work on NetBSD/sparc 1.5
To: =?iso-8859-1?Q?Trond_Endrest=F8l?= <trond@ramstind.gtf.ol.no>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc
Date: 01/26/2001 22:02:08
On Thu, Jan 25, 2001 at 11:14:49PM +0100, Trond Endrestøl wrote:
> Hi, all!
> 
> Although I am listed as an explicit member of the wheel group, I
> cannot su to root.
> 
> Here is the relevant line from /etc/group:
> 
> wheel:*:0:root,trond
> 
> Each time I enter the correct root password, all I get is «Sorry», and
> su exits with 1.
> 
> Even su'ing to myself from myself wont work either, and results in the
> same «Sorry» even if I enter the correct password.
> 
> However, su'ing from root to myself (or someone else for that matter)
> works as expected (without entering any passwords).

I suspect your 'su' binary lost its suid bit. try chmod u+s /usr/bin/su

--
Manuel Bouyer <bouyer@antioche.eu.org>
--