Using Your FTP Server New password: Retype new password: passwd: all authentication tokens updated successfully. Thereby you assign each user their own individual FTP space. Disabling Local System User Accounts for FTP By default, these users would have the same permissions to read, write, and execute the contents of their home directory via FTP that they would have if they were accessing the directory by sitting at the computer. More importantly, authentication via FTP is not encrypted, so allowing FTP access via user accounts is actually not a good way to allow access to your system if you’ve got anything sensitive to protect. Therefore, in most situations it’s recommended that you disable FTP access via user accounts. This is easy to do - you just change the appropriate setting in the configuration file, /etc/vsftpd/vsftpd.conf. When you open the file, locate the following lines: # Uncomment this to allow local users to log in. local_enable=YES Change the directive to read as follows: local_enable=NO Then restart the vsftpd service using the Server Configuration dialog, or typing the following at the command line: # service vsftpd restart Now, if you try using an FTP client to gain FTP access via a system user account, you’ll be refused: $ ftp 192.168.0.99 Connected to 192.168.0.99 (192.168.0.99). 220 (vsFTPd 1.1.3) Name (192.168.0.99:none): eziodm 530 This FTP server is anonymous only. Login failed. Blocking FTP Access for User Accounts Alternatively, we can deny FTP access to individual users (rather than to all users). We control this using the file /etc/vsftpd.ftpusers file, which contains the list of users that are not allowed FTP access to the server. To try this, first change the local_enable directive back from NO to YES, in /etc/vsftpd/vsftpd.conf, to enable FTP access via system accounts: # Uncomment this to allow local users to log in. local_enable=YES Then, open the /etc/vsftpd.ftpusers file (using root privileges), add an account name at the bottom, and save the file. There’s no need to restart the vsftpd service; changes to the /etc/vsftpd.ftpusers file take effect immediately. 285

Hint: This post is supported by Gama web hosting php mysql provider