0

Pure-FTPd is a secure cross-platform FTP server that can run on many Unix-based systems like Linux, FreeBSD, Solaris, DargonFly BSD, and even Android. Its installation on Ubuntu is very simple, you need only to run this single command from the terminal:

sudo apt-get install pure-ftpd-common pure-ftpd

In this tutorial we will show you how to create a new FTP user or reset a user password for this FTP server.

1. Create New FTP User

In this example I will create a user called upubuntu, you can change it to whatever you want. Open the terminal and run this command:

 pure-pw useradd upubuntu -u ftpuser -d /home/ftpusers/upubuntu

Users are stored by default in this location:   /etc/pure-ftpd/pureftpd.passwd

After creating a user, you have to update this database with this command:

pure-pw mkdb

If you want to get information about a specific FTP user, use this command:

pure-pw show upubuntu

To list all FTP users, run this command:

pure-pw list

2. Reset FTP User Password

If you a user password is forgotten, you can reset  it with the following command:

pure-pw passwd upubuntu

Update then your database with this command:

pure-pw mkdb

That's it!

Post a Comment

 
Top