Hi everbody!

I have a problem with chrooted sftp. When theuser logs in, it doesn't
find itself in it's home directory, but in the chrooted /. The log says:

Nov 28 22:35:13 xxx rssh[23496]: setting umask to 022
Nov 28 22:35:13 xxx rssh[23496]: chrooting all users to /home/chroot
Nov 28 22:35:13 xxx rssh[23496]: chroot cmd
line: /usr/lib/rssh/rssh_chroot_helper 2 "/usr/lib/openssh/sftp-server"
Nov 28 22:35:13 xxx rssh_chroot_helper[23496]: new session for theuser,
UID=10009
Nov 28 22:35:13 xxx rssh_chroot_helper[23496]: user's home dir
is /home/theuser
Nov 28 22:35:13 xxx rssh_chroot_helper[23496]: couldn't
find /home/theuser in chroot jail
Nov 28 22:35:13 xxx rssh_chroot_helper[23496]: chrooted to /home/chroot
Nov 28 22:35:13 xxx rssh_chroot_helper[23496]: changing working
directory to / (inside jail)

However, theuser's home is there:
# pwd
/home/chroot/home

# ls -la|grep theuser
drwx------+ 4 theuser        users 4096 2006-11-02 09:55 theuser

What am I doing wrong?

petya


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to