Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with rssh/sftp chroot, and lastlog...
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
shredder
n00b
n00b


Joined: 22 Nov 2004
Posts: 47

PostPosted: Sun Nov 06, 2005 9:08 pm    Post subject: problem with rssh/sftp chroot, and lastlog... Reply with quote

Hi,
this is my rssh.conf:
Code:
logfacility = LOG_USER

allowscp
allowsftp

umask = 022

chrootpath = "/home/chroot"

##########################################
# EXAMPLES of configuring per-user options

#spaces in the path must be quoted...
#user=rudy:011:00001:"/usr/local/chroot dir"  # scp with chroot
#user=rudy:011:00010:"/usr/local/chroot dir"  # sftp with chroot
user=kjell:011:00011:"/var/www/kjells"  # both with chroot
Normal users who has their homedirs set to /home/chroot/username gets chrooted to /home/chroot/ but the user kjell who is suposed to get chrooted in /var/www/kjells does not get chrooted at all. Any ideas about why the per-user configuration does not work? Do you have to type any command to re-read the /etc/rssh.conf ? [/code]

Last edited by shredder on Mon Nov 14, 2005 4:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
shredder
n00b
n00b


Joined: 22 Nov 2004
Posts: 47

PostPosted: Mon Nov 14, 2005 4:29 pm    Post subject: Reply with quote

The above problem is still unsolved.
But i think it is okey to bump this thread since i got a new question on the same topic. Lastlog does not report any logins for the rssh/sftp users. Where can i see login times and source ip-addresses for rssh/sftp?
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