Re: chroot

From: Dave.Zarnoch@SUNGARD.COM
Date: Mon Jul 08 2002 - 12:50:13 EDT


Check out "Rsh".

It's the "restricted" Bourne shell.

# man Rsh

Dave Zarnoch
UNIX Systems Administration
SunGard eSourcing
600 Laurel Oak Rd.
Voorhees, NJ 08043
Dave.Zarnoch@sungard.com

                      justin.bleistein@
                      SUNGARD.COM To: aix-l@Princeton.EDU
                      Sent by: IBM AIX cc:
                      Discussion List Subject: chroot
                      <aix-l@Princeton.
                      EDU>

                      07/08/2002 12:22
                      PM
                      Please respond to
                      IBM AIX
                      Discussion List

      Could someone be as so kind as to send me an example of the "chroot"
command syntax and how it should be used. I want to set it up so when users
log in to the system and are put in there "/home/user" directory I want
there home directory to be the top of the directory tree as far as they're
concerned. I don't want them to be able to get to "/" (root). Please let me
know if chroot is the command I should use and the syntax. I don't want the
users to be able to "cd" to root while they're logged in as themselves
.They only need access to everything under there home directories thanks!.

--Justin Richard Bleistein



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:02 EDT