Re: Chroot users in ssh

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

 



There's a "chroot" command that you could put in /etc/profile and have
it triggered for the users you want to chroot.   Bear in mind, however,
that a chroot'd environment means that everything is chroot'd --
commands, shared libraries, /etc/resolv.conf, the lot.    It's very hard
to set up a limited environment (well, it was when I tried it once) --
and even harder to be sure there's nothing in that environment that you
wouldn't like.  There are other techniques though that give a similar
effect that involve programming: you have one process in a chrooted
environment that the user runs in and a parent process communicating via
a pipe to run limited commands in the normal environment -- a sort of
sandbox for Unix.   I've not tried this ever and I don't know if there's
something out there that will do it for you.

jch

 
Do you have some examples of /etc/profile to chroot a user?
 
Thanks in advance
----- Original Message -----
Sent: Wednesday, November 05, 2003 19:14
Subject: Chroot users in ssh

Is it possible to chroot users in there home directorie and jail them there so they can't get out of this directorie, if so how?

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux