Create FTP user and List all Users

By Bhavesh Jain
March 28, 2014 | 1542 Views

Latest Industry insights to keep you updated on the latest happenings.

Create FTP user

useradd -d <path to your dir> <username>

passwd <username>

 

To remove the user's account from the local system / server / workstation, enter:

# userdel <username>

 

To remove the user's home directory pass the -r option to userdel, enter:

# userdel -r <username>

 

List all the FTP user :

awk -F':' '{ print $1}' /etc/passwd

Monthly industry insights to keep you updated on latest happenings

Follow us on Twitter
Follow us on Facebook
Follow us on Linkedin