Chroot directory for user not working

mpd mpd at rochester.rr.com
Wed Jul 30 10:29:51 PDT 2003


On Wed, Jul 30, 2003 at 12:08:17PM -0400, Jason Lieurance wrote:
> 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.

Try the scponly port in shells/scponly.
> 
> -- 
> Jason
> 

mike

-- 
___________________________________________________________
 
"WHAT ARE YOU LOOKING AT???"
	- Pokey the Penguin from "POKEY AND THE PARANOIA"


More information about the freebsd-questions mailing list