FTP server problem.

Hi,

I have a FTP server enabled on one of our machine. My requirement is the user has ftp home directory and they should not be able to do cd .. from the current/home directory. What i can do for this?

Eg:

when i logged in as ftpuser1 my path/home directory is /ftphome/home/ftpuser1

i shoud not be able to do cd .. to go the directory /ftphome/home sothat others files can be seen by me.

Any help is appreciated....

tx

[462 byte] By [Silver75a] at [2007-11-27 5:49:56]
# 1

G'day Silver75,

Not sure is this is the right forum for this question maybe try "General Solaris 10 Discussion" next time.

As for an answer if you are using the standard ftp service (wu-ftpd) - create the user as a guest ftp user - see section "How to Set Up Guest FTP Users" in http://docs.sun.com/app/docs/doc/816-4555/6maoquing?a=view

Regards

Dan

jebua at 2007-7-12 15:37:08 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

What your asking for is called a chroot ftp server.

It can be achieved with the standard solaris ftp server, but is astonishingly painful to do so.

Your better off ditching the standard solaris ftp server and installing a more sane alternative.

And suddenly getting chroot becomes reasonably easy.

I have had good experiences with proftpd but I have also heard good things about pureftpd.

robert.cohena at 2007-7-12 15:37:09 > top of Java-index,Solaris Operating System,Solaris 10 Features...