Operating System - Linux
1752568 Members
5636 Online
108788 Solutions
New Discussion юеВ

How to set the home folder for anonymous ftp

 
SOLVED
Go to solution
skt_skt
Honored Contributor

How to set the home folder for anonymous ftp

RHEL AS 3 U9
vsFTPd 1.2.1

i want them to get set to /sec_nav_pr/NAV/pub.
where i can configure that

# ls -ld /sec_nav_pr/NAV/pub
dr-xrwxr-x 6 ftp nav 4096 Dec 20 2007 /sec_nav_pr/NAV/pub
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: How to set the home folder for anonymous ftp

Change the home directory for the ftp user in the /etc/passwd file.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Krastev
Honored Contributor
Solution

Re: How to set the home folder for anonymous ftp

Set anon_root to your dir:
anon_root=/sec_nav_pr/NAV/pub

See more here - http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch15_:_Linux_FTP_Server_Setup

regards,
ivan
Suraj K Sankari
Honored Contributor

Re: How to set the home folder for anonymous ftp

Hi,

I think while creating you can set the home directory like normal user.

and you can set the folder permission so the Anonymous user not able to access other directories.

Suraj