or just use restricted bash.  Has to be version 2.x at minimum.  If
you create a link called rbash to bash, it will be restricted.  Or
run it "bash -r".  This also doesn't allow users to change their 
path, so make sure anything they need is in their path.

        --brandon

On Thu, Oct 18, 2001 at 04:52:09PM -0400, Michael Conlen wrote:
> As far as ssh is concerned it's not relevant, however there are ways to keep
> a user from changing down a directory. You just have to setup a complete
> environment for the user in their home directory. This can be accomplished
> with FreeBSD pretty easily using some make world options. The idea is that
> you create an entire UNIX environment in their home directory and chroot
> them to their home dir when they log in.
> 
> --
> Groove On Dude
> Michael Conlen
> Obfuscated Networking
> [EMAIL PROTECTED]
> 
> 
> > -----Original Message-----
> > From: Pascal Bourguignon [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 18, 2001 9:46 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Do not allow users to cd ..
> >
> >
> >
> > > How do I restrict users from CD .. out of their directory?
> >
> > That's a meaningless question.
> >
> > --
> > __Pascal_Bourguignon__              (o_ Software patents are endangering
> > ()  ASCII ribbon against html email //\ the computer industry all around
> > /\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
> > 1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/
> >
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.1
> > GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
> > N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
> > DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
> > ------END GEEK CODE BLOCK------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to