FTP user account [Slackware 8.1]
OK, I don't know much about Linux, and even less about Networking, but here is my task:
I must setup a user account that will allow a partner to push (upload) files to their home directory via FTP, thats it. The user cannot do anything else on this machine or even within their own home directory, no downloading, or modifying of files allowed. I know how to create a new user, but thats about it. I searched for this topic and couldn't find Slackware-specific instructions anywhere. Thanks |
This idea may help:
1. create a normal user with a home directory 2. change the permission on the directory to -w-------, which makes the user have write (upload) permission only 3. change the option ch_owner (or something like that) in the FTP configuration file to someone different from the user. This option make the file's owner uploaded to your server change to anyone you like.Then use the local_umask option to set initial permission for the files to rwx------ or anything that make the upload user cannot read, write or execute. 4. in additional, you have to use chroot_jail option to make sure the upload-only user cannot cd to any directories except his home. |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 06:20 PM. |