*BSD News Article 64664


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.mid.net!newsfeeder.gi.net!newsfeed.internetmci.com!news.zeitgeist.net!news.pixi.com!usenet
From: rjh@pacinfo.net (R J Huntington)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Enabling SU ability for a user
Date: 1 Apr 1996 20:51:02 GMT
Organization: Pacific Information Exchange Inc
Lines: 18
Message-ID: <4jpfjm$kv1@rigel.pixi.com>
References: <960331.165643.2716@banshee.uunet.ca>
NNTP-Posting-Host: romulus.pixi.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=ISO-8859-1
X-Newsreader: WinVN 0.99.5

In article <960331.165643.2716@banshee.uunet.ca>, kschafer@cyberbeach.net propones...
>
>I want to enable a certain user to execute SU to change to root
>access, how exactly do I go about enabling this feature ?

Add the username to group 0 in /etc/group. You need to be root,
of course. The first line of /etc/group probably looks like:

	wheel:*:0:root

Make it look like this:

	wheel:*:0:root,username

Once you save the file, the user 'username' will be able to su to root.
You should do this for the system admin as well, and disallow root
logins altogether.