LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Create FTP User (https://www.linuxquestions.org/questions/solaris-opensolaris-20/create-ftp-user-865679/)

moata_u 03-01-2011 04:10 AM

Create FTP User
 
i was trying creating create an account for only ftp ...
user will redirect for only ftp directory and not able to use , see or edit any other directory .....the user only should be able upload , download to his directory....

*** am using Solrais 10 ....any idea will be helpful

Ephracis 03-01-2011 04:20 AM

You could create a user with write access only to his home but you will still need read access to system folders for access to cd, ls, etc. You could create a bin folder inside user's home, copy the necessary tools and set PATH but I don't see the point.

moata_u 03-01-2011 04:28 AM

The only things that user will need is to upload file or download file from his directory ...nothing more ...
So can I make file system hidden for him and all other directories...

Ephracis 03-01-2011 04:34 AM

You would be surprised. You could try to chroot the user to his home but remember that it may present problems. I don't see the point, though. It will not increase the security and it will most certainly give you headache. But do a chroot, it could work out fine. :)

perakasunil 03-01-2011 06:31 AM

chown
 
Change the ownership with "chown" and check the same...


All times are GMT -5. The time now is 10:33 PM.