Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 13:30:43 -0400
From:      mpd <mpd@rochester.rr.com>
To:        Jason Lieurance <jason@vipersystems.biz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Chroot directory for user not working
Message-ID:  <20030730173043.GA50826@rochester.rr.com>
In-Reply-To: <35009.192.168.1.150.1059581297.squirrel@www.vipersystems.biz>
References:  <35009.192.168.1.150.1059581297.squirrel@www.vipersystems.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030730173043.GA50826>