You are viewing an old revision of this post, from August 20, 2018 @ 16:56:20. See below for differences between this version and the current revision.

Create new FTP user

Add your system User

Yes, it is this simple, creating a new user for ftp access in vsftpd is as easy as creating a new valid linux system user.

 # useradd test
# passwd test

Disable SSH access for FTP users

The default user creation script will give a user the /bin/bash shell, which can be a little too powerful.  If you don't want your users logging into your server via SSH, we need to know how to block this access.  If you change the shell to /bin/false, the users will only be able to login via ftp or mail if you have that setup. Here is how to modify your users:

# usermod -s /sbin/nologin test


Revision Differences

There are no differences between the August 20, 2018 @ 16:56:20 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply