Add Delete Modify Users Unix
To add delete modify users on Unix you could use below commands which mentioned separately:
- Add user: $ sudo adduser new_username OR $ sudo useradd new_username
- Delete user: $ sudo userdel username
Then delete home directory of deleted user : $ sudo rm -r /home/username - Modify user name of user: $ usermod -l new_username old_username
- Change password: $ sudo passwd username
- Change shell for user: $ sudo chsh username
- To change user real name: $ sudo chfn username
For more information please refer Unbuntu manual here