Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2000 10:02:14 -0400
From:      Daniel Frazier <dfrazier@magpage.com>
To:        Michael =?iso-8859-1?Q?Lyngb=F8l?= <lyngbol@candid.dk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: restricted su
Message-ID:  <39BCE5E6.365473C4@magpage.com>
References:  <20000911134613.B34974@tigerdyr.candid.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Lyngbøl wrote:
> 
> Hi,
> 
> Is it possible to restrict 'su' to a specfic user to a specfic group?
> 
> (just like only users in group 'wheel' may su to root)
> 
> Thanks
> /Michael
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

Michael,
To answer your question... if you have a user in a group that you wish
to let su to root, you can just add that users name to the wheel group
in /etc/group.  User will be in both groups... 

man group for more info...

hope this helps.
-- 
----------------------------------------------------------------------
Daniel Frazier  <dfrazier@magpage.com>   Tel:  302-239-5900 Ext. 231
System Administrator                     Fax:  302-239-3909
MAGPAGE, We Power the Internet           WWW:  http://www.magpage.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BCE5E6.365473C4>