FTP - setting top level dir
I am attempting to give FTP access to a user but am having trouble setting the top level directory for that user...
I am running RH6.2 and wuftpd wu-2.6.0(1)
I created a new user then edited /etc/passwd
(I also added /bin/false to /etc/shells)
Permissions on user's home dir is OK...
I can FTP in from a remote box but can issue
ftp> cd /
and ls the root directory on the box. I want this user restricted to the directory specified in /etc/passwd !!
Oh... I've been looking at docs for... um, longer than I should be... :)
Search the forums. This has been addressed 4 times in the last week alone. :)
Thanks... I guess I wasn't searching hard enough.... :)
Anyhow, the solution was simple...
in /etc/ftpaccess I added:
and it worked... the directory that the user gets when they log in is their top level directory....
|All times are GMT -5. The time now is 11:34 AM.|