Vsftp Upload/Download permission
I am using Redhat 8 Vsftpd. Now I have two user accounts ("Download" , "Upload" ) . Can I set permission that "Download account" is only for download whereas "Upload accout" is only for upload ?
I have set (write_enable=YES ) in vsftpd.conf, both account now can upload and download. How Can I do ? |
you can create two separate vsftpd.conf files, and start two vsftpd instances...
each instance would use it's own configuration... for example, vsftpd.download.conf and vsftpd.upload.conf then you could start the two vsftpd instances: vsftpd /etc/vsftpd.download.conf vsftpd /etc/vsftpd.upload.conf |
Sorry, is it a special method since suppose I have ten user accounts ( e.g. A, B. C ,D ,E .... ).
Then if I want to set some permision ( e.g. Read, Write, Excuate ) for each account. Then How can I do it ? Thanks !!! |
Quote:
=) if you want each user to have different configurations, then you must create different configuration files for each user... to let a user upload, you need the write_enable=YES option... you can chroot users to their home directory using chroot_local_user=YES... here's all the vsftpd options: http://vsftpd.beasts.org/vsftpd_conf.html keep in mind that it's recommended that you DO NOT allow your local users ftp access to the server, as ftp is an insecure protocol, and your users would be transmitting their passwords and files without any security whatsoever... vsftpd comes pre-configured for anonymous ftp for a reason... here's a good article on this: http://www.linuxjournal.com/article.php?sid=7520 =) |
Thx !
Let me try |
sorry. if I create one vsftpd.conf for each user, then how can I define what user belongs to what vsftpd.conf
|
?
maybe I'm crazy, but why don't you create locked down user accounts and set file permissions in cunjuction with the main conf file?
|
<hint>user_config_dir</hint>
|
All times are GMT -5. The time now is 04:05 AM. |