Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Jailing user to his home dir ?
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
vladoportos
n00b
n00b


Joined: 02 May 2006
Posts: 22

PostPosted: Wed Jul 19, 2006 1:03 pm    Post subject: Jailing user to his home dir ? Reply with quote

Hi all,

I have a problem, how to jail a user to his home dir e.g. /home/testuser that he cant leave that directory ?

In real is that i using rssh for scp and sftp with chroot enviroment and no shell ( i did it like it says here http://gentoo-wiki.com/HOWTO_SFTP_Server_(chrooted,_without_shell) ) its forking fine... but i need that user cant see behind their own directories so they dont see how many users are there or names of users... and i dont wanna make chroot env for each one cause there is logging problem than...\


Anybody had similar problems ?
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1630
Location: U.S.A.

PostPosted: Wed Jul 19, 2006 2:05 pm    Post subject: Reply with quote

Does this help?
http://www.comptechdoc.org/os/linux/manual4/secureftp.html
or
http://www.pizzashack.org/rssh/faq.shtml#6
or
http://www.sdri.co.jp/rssh/CHROOT_en.html

Your link isn't any good, says not available.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
vladoportos
n00b
n00b


Joined: 02 May 2006
Posts: 22

PostPosted: Wed Jul 19, 2006 3:25 pm    Post subject: Reply with quote

Hi i allready red that links you gave me... its doesnt help at all... i have sftp running crooted but what i need is keep users in their folders and doing own chroot for every user is quit not it
Back to top
View user's profile Send private message
ats2
Apprentice
Apprentice


Joined: 22 Apr 2005
Posts: 297

PostPosted: Thu Aug 24, 2006 5:42 am    Post subject: Reply with quote

Hi, same problem here. I have followed the instructions but coudn't achieve to jail the user inhis /home, because every time I set the CHROOT option in rssh, it blocks all connections attempts. And if I don't set it, then the user can browse all directories... I guess there's a bug in rssh, or the directions are not correct...
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