View previous topic :: View next topic |
Author |
Message |
shredder n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/5576906434357e8134cd9b.gif)
Joined: 22 Nov 2004 Posts: 47
|
Posted: Sun Nov 06, 2005 9:08 pm Post subject: problem with rssh/sftp chroot, and lastlog... |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
shredder n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/5576906434357e8134cd9b.gif)
Joined: 22 Nov 2004 Posts: 47
|
Posted: Mon Nov 14, 2005 4:29 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|