I have just installed WU-FTPD on RedHat 5.2. According to the book Linux Unleased (Third Edition), pp. 198-199, if I added a user to a group and add a "guestgroup" line in my FTPACCESS file naming that group, and added this line in the passwd file:
 
user1:encrypted password:500:1228:User1:/ftp/./user1:/bin/ftponly
 
that user should be able to get anywhere but the ftp and dir.
Unfortunately when I do that, RH wants to create the directory /bin/ftponly, or it doesn't work, or I can get in without the dir limitations in passwd file, but I can't get anywhere.
 
My objective is to limit the user to their home directory.
 
Can somebody shed some light on this or point me to the right direction.
 
Thanks.

Reply via email to