Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2000 08:56:52 -0500
From:      "Peter Avalos" <pavalos@theshell.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: restricted su
Message-ID:  <AAEMIFFLKPKLAOJHJANHAEIJCEAA.pavalos@theshell.com>
In-Reply-To: <20000911164351.C1816@thing.orbitel.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 11, 2000 at 03:07:21PM +0200, Michael Lyngbøl wrote:
> On Mon, Sep 11, 2000 at 03:50:33PM +0400, Igor Roboul wrote:
> > >
> > > 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)
> > This is default behavior
>
> I know. But I want to do the same thing for another group.

chgrp group_you_want /usr/bin/su
chmod o-rwx /usr/bin/su


Peter Avalos
TheShell.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?AAEMIFFLKPKLAOJHJANHAEIJCEAA.pavalos>