Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up SFTP server
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
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Wed Apr 26, 2006 3:24 pm    Post subject: Setting up SFTP server Reply with quote

I'm setting up an SFTP server and I don't want the users to be able to list contents of any other directory but their own. I set the permissions on each user's dir to 700 which prevents them from accessing each other's directories but they can still navigate to the top dirs. How would I go about fixing that? Do I implement chroot and if so, how?

Thanks in advance! :D
Back to top
View user's profile Send private message
bemis
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2004
Posts: 136
Location: USA

PostPosted: Thu Apr 27, 2006 12:13 am    Post subject: Reply with quote

check out these links:
http://gentoo-wiki.com/HOWTO_chroot_login
http://www.howtoforge.com/chrooted_ssh_howto_debian
http://www.ubuntuforums.org/showthread.php?t=128206

it's actually a pretty straightforward process - and a good practice - good luck.
_________________
Y'know, somewhere along the line, my brain got wired directly to my fingers .. I'm not even consulted anymore in the decision making processes.
-bemis
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Thu Apr 27, 2006 5:06 pm    Post subject: Reply with quote

Thanks for the links. Is chrooting the recommended way of doing this? ...Do I need to worry if I don't use chroot'ed environment?
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