On Fri, 2002-07-05 at 23:46, Cameron Simpson wrote: > On 15:58 05 Jul 2002, Ted Gervais <[EMAIL PROTECTED]> wrote: > | What does one have to do, to keep users that enter your system, to stay in > | their own directories. People telnet in or ssh in and look around and was > | wondering if there is a way to stop that. Maybe set the permissions or > | something so they have to remain in their own home directory?? > | Is that possible? > > Maybe, but tricky. Look at chroot for serious solutions. But also take > the other side: what do you have to hide? You can hide the users from > each other (just make their perms 700 on their top level dirs - if they > change it it's their lookout), but if you hide too much of the system > stuff things start breaking. Try to minimise the number of secrets you > want to keep. > -- > Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/ >
I am also interested in this topic. According to the man page chroot would work something like this as users shell but I can't get it work even though I copied /bin/bash to /home/login/bin chroot /home/login /home/login/bin/bash -i Is there a chroot shell you could assign users or simpler way to put them in a jail? What is wrong with the above line? jay _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list