×

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: 1696
Tags: no tags
  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.