Chroot - question
Hi,
I tried to use chroot. I insert this command at the /etc/profile file because I want that every time a user will be log on to the system he will be restricted. the problem is that this command is working only if I log on as a root, because I don't have permissions to use chroot from other user. How can I solve this , is there way to write in the file something that will say " maniooulate this command as if u are a root or something" ? and another quest', I notice that when in a root I manioulate the chroot, I can write exit and this is exit from the chroot. I wantnot to enable the user to exit the restricted area, is there way in which when he write exit to finish the task / terminal. many 10x. |
there's exactly that.
Code:
chmod +s /sbin/chroot http://www.tjw.org/chroot-login-HOWTO/ http://kegel.com/crosstool/current/d...gin-howto.html |
Hi,
10x, but when I writ it down in the /etc/profile file and log on as user (not as root - cause as root it is working) it still ignore me and don't do nothing.... |
|
All times are GMT -5. The time now is 03:04 AM. |