1830438 Members
2603 Online
110004 Solutions
New Discussion

FTP directory

 
Lai Nee Shyang_1
Frequent Advisor

FTP directory

Hi there,

Is there a way to force FTP users to a working directory other than their home directory upon logon via FTP.

Thanks


Lai
If it doesn't work, We'll make it work. If it works, We'll make it work better.
3 REPLIES 3
KapilRaj
Honored Contributor

Re: FTP directory

hi ,

Noway. I think the best solution is to create an anonymous ftp account and let all the users access that account for file transfer.

kaps
Nothing is impossible
Shannon Petry
Honored Contributor

Re: FTP directory

As for the forcing of a user to a directory, you could use the following logic.
* wu-ftpd supports chrooting users assigned to the ftpguest and anonymous accounts. This requires a directory in the chrooted location with "/bin" and the appropriate binaries.

If these are real users, simply make them separate FTP id's, and stick their real ID into /etc/ftpusers so that they have to ftp with their ftp id.

Of course you could be more creative than this with some thought. Remember that the beauty of UNIX is that you dont have to rely on "out of the box" remedies to problems.

Regards,
Shannon
Microsoft. When do you want a virus today?