sftp server

Ed Wilts ewilts at ewilts.org
Mon Nov 15 17:33:59 UTC 2004


On Mon, Nov 15, 2004 at 09:59:57AM -0600, Jay Berryman wrote:
> Ok.  I have followed the setup instructions as such.  Create a chroot env,
> such as /home/ftp/ and then create a user with a home directory of
> /home/ftp/user and edit the /etc/passwd file as such:  
> test:x:501:501::/home/ftp/./home/ftp/test:/bin/sh

The standard syntax for the home directory would be /home/ftp/./test
This would chroot the user to /home/ftp/test.  Your syntax would chroot
them to /home/ftp/home/ftp/test.  I

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list