User Management

Dominic Mitchell dom at happygiraffe.net
Tue Jun 3 21:04:48 BST 2003


On Tue, Jun 03, 2003 at 07:58:22PM +0100, Company 2210 wrote:
> How would I go about providng my user account the ability to su? - the pw
> function seems to be the way, but I can find no suitable tutorials (most are
> based around preventing such access) and I'm a bit hazy on the merriod of
> options, i.e. do I add to a group? or a flag thats set allowing the user to
> su?.

Rather than using su, you may wish to investigate sudo from the ports
collection.  It provides much better access to root's abilities and has
full logging.

    # cd /usr/ports/security/sudo
    # make install

As others have said though, you need to be in group "wheel" to su
correctly.

-Dom




More information about the Ukfreebsd mailing list