Linked by Thom Holwerda on Sun 29th Jan 2006 16:04 UTC, submitted by Falko Timme
Privacy, Security, Encryption "This tutorial describes how to install and configure OpenSSH so that it will allow chrooted sessions for users. With this setup, you can give your users shell access without having to fear that they can see your whole system. Your users will be jailed in a specific directory which they will not be able to break out of."
Thread beginning with comment 90717
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Multiple copies
by MrEcho on Sun 29th Jan 2006 21:40 UTC in reply to "Multiple copies"
MrEcho
Member since:
2005-07-07

Lots of linking, ya it sucks, but it would work.
Just setup a master chroot user dir with all the links, then copy it for all the users.
That way when you update your system, everything within the chroot also gets updated.

Reply Parent Bookmark Score: 1

RE[2]: Multiple copies
by s-peter on Sun 29th Jan 2006 22:49 in reply to "RE: Multiple copies"
s-peter Member since:
2006-01-29

It doesn't seem that easy for me... First, newly created files and directories won't appear in the chroot. Also, rpm does not overwrite (modify) files but replaces them with new ones. (Not sure but i'd guess tar/dpkg do the same). In that case, updated files are unlinked so the updates won't be shared.

Reply Parent Bookmark Score: 1