Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 19:11:55 +0100
From:      Kevin Golding <kevin@caomhin.demon.co.uk>
To:        martin@dc.cis.okstate.edu
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Accounts with Restricted privileges
Message-ID:  <q6sOtCBrpW28Ew$9@caomhin.demon.co.uk>
In-Reply-To: <200205081623.g48GNkl89410@dc.cis.okstate.edu>
References:  <200205081623.g48GNkl89410@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Someone, quite probably Martin McCormick, once wrote:
>       Is it possible to create an account with a restricted
>shell?
>
>       The documentation for bash shows that it can be invoked
>with the --restricted flag.  A check of the handbook shows
>nothing more about this topic.  Neither did a look at the man
>pages for login.

Copy the bash binary and call it rbash then set the users shell to rbash
and when they login they'll be in a restricted shell.

Kevin
-- 
kevin@caomhin.demon.co.uk

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?q6sOtCBrpW28Ew$9>