FTP user

Dear all,

i need to create FTP user with limited permissions: this user is only allowed to ftp from a certain directory, and he cant view or list any other file or directory, i want the him to be denied even from cd / .. he cant list root or any other directory , only the directory he is supposed to FTP from.

Please help

thanks in advance

You have two options:

  1. Change your ftp daemon for one such as proftpd which supports this in a simple way.

  2. Set up a chrooted environment for the ftp user in question. google for "solaris ftp chroot" and you should get several examples of howe to do this.

Personally I prefer option 1.

look at setting up anonymous ftp (see "man ftpd") and then change the permissions on all the directories to disable "reading" aka searching