Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 1997 10:28:59 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        jahan@jjsoft.com
Cc:        FreeBSD-stable@FreeBSD.ORG
Subject:   Re: SU thing: here it is
Message-ID:  <Pine.BSF.3.96.971202102700.11603F-100000@odyssey.apana.org.au>
In-Reply-To: <3482F879.C23FCFFA@pc.jaring.my>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Dec 1997, jahan wrote:

> OS FreeBSD 2.2.1, 
> 
> why cannot su ?  what am I missing. Group is right.
> 
> See the output below.
> 
> 
> $ id 
> uid=1000(jahan) gid=0(wheel) groups=0(wheel)     
> $ su root   
> su: you are not in the correct group to su root. 
> $

Are you in the group file. Ie, /etc/group

Login as root, and do:

vi /etc/group

The wheel group will need to look something like:

wheel:*:0:root,jahan,user,user,user

where "user" are any other users who want su access.

Regards,

d.

+-------------------------------------------------------+
| Dean Hollister,           | deanh@iinet.net.au        |  
| Perth, Western Australia. | dean@odyssey.apana.org.au |
+-------------------------------------------------------+




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971202102700.11603F-100000>