|
I need to have FTP set up to allow <username> to access /home/<username> Is this possible on CentOS? Thanks |
/usr/sbin/groupadd ftpaccountsAdd a new user to this group, and set the default path of that user to /home/user/. /usr/sbin/adduser -g ftpaccounts -d /home/user/ testuserSet a password for the newley created user. passwd testuserSet ownership of /home/user to the testuser and ftpaccounts. chown testuser:ftpaccounts /home/userGive Read/Write access to testuser and all members in ftpaccounts chmod 775 /home/userEdit /etc/vsftpd/vsftpd.conf file and make sure 'local_enable=YES' is uncommented. Restart the vsftpd service. /etc/init.d/vsftpd restart. . . . Seams to work..... Something wrong with VSFTPD though ;P |

AppleHack23, Do not close this until it's got a answer....