Chroot directory for user not working

Jason Lieurance jason at vipersystems.biz
Wed Jul 30 09:08:16 PDT 2003


Hello,

I know I'm not doing this right. I want to have a user who uses windows xp
login to my freebsd 4.7 server with winscp and just have access(chroot) to
the home directory I specify for them. I tried it like so:

/etc/passwd file

user1:*:600:600:User for ssh ftp:/usr/home/./user1:/sbin/false

..and of course when you login with winscp it takes you to the regular
system root.

Any help would be appreciated as always.

-- 
Jason




More information about the freebsd-questions mailing list