FTP directories strategy

Milko

Registered
I am trying to set up an FTP service where anonymous users and registered "staff" users have access to a different directory structure. I want anonymous users to see only one directory and not be able to go to the root and see all shares, whereas I would like registered users to see other directories.

1.) Is there a default user that stands for the "anonymous" user in FTP?

2.) Is it possible to create aliases that would allow an FTP user to jump to another directory?
 
check out man ftpd, look for "ftpchroot"

Also, look at eg.
http://www.cert.org/tech_tips/anonymous_ftp_config.txt
It's general-purpose for all Unix, but most of it should be relevant.

Whatever you do, do not add an anonymous ftp users via the Users control panel, this assumes that any user you add corresponds to a real person who should have desktop and shell access, and so on.
 
Back
Top