Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Safe? NFS mount within a chroot jail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
groovin
Guru
Guru


Joined: 07 Feb 2004
Posts: 429
Location: California, USA

PostPosted: Thu May 12, 2005 5:47 pm    Post subject: Safe? NFS mount within a chroot jail Reply with quote

I have 2 machines (A and B). A is an NFS server with various shares. B has users jailed to /chroot. These users need to access files from A. Is it safe to have an NFS mount within /chroot? Say /chroot/mnt -> A:/path/to/share? Assume that all the NFS server is properly set up and the share is read only and not using no_root_squash.

Thanks
Back to top
View user's profile Send private message
madchaz
l33t
l33t


Joined: 01 Jul 2003
Posts: 995
Location: Quebec, Canada

PostPosted: Thu May 12, 2005 7:24 pm    Post subject: Reply with quote

I would belive it's very safe, personaly anyway. If the user cannot get out of chroot and your permisions are setup properly on the NFS server, I can't see any reason this would be an issue. As far as the user can tell, it's no different then if the tree was on the local machine, except for the fact that it's in /mnt from his POV.
_________________
Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
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