Stardust

Create an FTP User.

Guide to create an FTP user on CentOS 7. 

If no FTP server software, install vsftpd.
yum install vsftpd
adduser -c 'SFTP USER_USERNAME' -m USERNAME

passwd USERNAME
chown USERNAME:USERNAME /sftpuser/folder

Make sure vsftpd.conf is properly configured:

vim /etc/vsftpd/vsftpd.conf

anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES (prevent access outside home directory)

service vsftpd restart
usermod -d /sftpuser/folder USERNAME

That’s all folks, see you  later!

1 thought on “Create an FTP User.

Leave a Reply

Your email address will not be published. Required fields are marked *