[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: restricted shell



On Sat, Aug 21, 1999 at 12:18:41PM -0500, Brad wrote
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> On Sat, 21 Aug 1999, J Horacio MG wrote:
> 
> > > bash has a -r option, this may bee what you want.
> > 
> > Fine, I somehow thought there existed some sort of restrictive shell.
> > How do you create such a user... ie. a user with a default bash -r
> > shell?
> 
> Checking the manpage, bash gives the same effect if started as "rbash".
> The Debian bash package automatically installs the /bin/rbash symlink, so
> all you have to do is change the user's shell in /etc/passwd.
> 

You also have to ensure that /bin/rbash appears in /etc/shells, or
they get even less access than you had probably intended...


John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
"Oh - I - you know - my job is to fear everything." - Bill Gates in Denmark


Reply to: