Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Locking ssh user in 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
PietdeBoer
Apprentice
Apprentice


Joined: 20 Oct 2005
Posts: 244
Location: Eindhoven, the Netherlands

PostPosted: Wed Nov 09, 2005 1:10 pm    Post subject: Locking ssh user in home dir Reply with quote

Hey guys

i was wondering if i could lock a user in his home directory
if it's possible...how does this work?

thx in advance!
Back to top
View user's profile Send private message
Dizzutch
Guru
Guru


Joined: 09 Nov 2004
Posts: 463
Location: Worcester, MA

PostPosted: Wed Nov 09, 2005 1:17 pm    Post subject: Reply with quote

you would have to setup a chroot jail for the user. I've never done this myself, but I know there are a couple tools out there that help you do it. there's some help here
good luck
-Dizz
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Wed Nov 09, 2005 1:24 pm    Post subject: Reply with quote

A convenient way to do this is app-shells/rssh

EDIT: to put it clear, rssh works great for scp/sftp access, but isn't meant as a chroot replacement when you want to provide full shell access.


Hth, Alex!!!
_________________
ALT-F4


Last edited by tuxmin on Mon Dec 19, 2005 7:22 am; edited 1 time in total
Back to top
View user's profile Send private message
PietdeBoer
Apprentice
Apprentice


Joined: 20 Oct 2005
Posts: 244
Location: Eindhoven, the Netherlands

PostPosted: Wed Nov 09, 2005 1:31 pm    Post subject: Reply with quote

ok thx going to try it out .. thx for the help guys!
Back to top
View user's profile Send private message
herka
n00b
n00b


Joined: 08 Aug 2003
Posts: 23

PostPosted: Wed Nov 09, 2005 7:53 pm    Post subject: Reply with quote

if you want to allow only file transfert you can also try scponly.
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