×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Paul Allies Allies
Added: Jul 5, 2012 10:08 PM
Views: 19
Tags: no tags
How to:
1. Add a user
2. Delete a user
3. Where is all the user information stored
4. Change a user password
  1. //Add a user
  2. $ sudo adduser <username>
  3.  
  4. //Delete a user
  5. $ sudo userdel <username>
  6.  
  7. //All user information is stored in a text file
  8. $ sudo vim /etc/passwd
  9.  
  10. //how to change a users password
  11. $ sudo passwd <username>
  12.  
  13.