• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

chroot command

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux

View previous topic :: View next topic  
Author Message
duster
Just Arrived
Just Arrived


Joined: 06 May 2005
Posts: 0


Offline

PostPosted: Fri Apr 17, 2009 6:05 pm    Post subject: chroot command Reply with quote

I have six users (u1, u2 ....u6) and i want to "jail" those users to a directory call jailhouse. what is syntax to accomplish this. this is what im typing but its not working. chroot u1 u2 ...u6 /home/jailhouse
Back to top
View user's profile Send private message
martiinez
Just Arrived
Just Arrived


Joined: 29 Apr 2009
Posts: 0
Location: EU/PL

Offline

PostPosted: Wed May 06, 2009 9:55 pm    Post subject: Re: chroot command Reply with quote

duster wrote:
I have six users (u1, u2 ....u6) and i want to "jail" those users to a directory call jailhouse. what is syntax to accomplish this. this is what im typing but its not working. chroot u1 u2 ...u6 /home/jailhouse


Hi

It's pretty easy but you must create your own environment for jail. For instance:

/dev
/lib
/bin
/sbin
/usr/bin
/usr/sbin

etc
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register