Re: sftp server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux