Guest User

Untitled

a guest
Feb 17th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. user: node
  2. password: spoon
  3. group: ultraMegaPermissions
  4.  
  5. user:serve
  6. password: spoot
  7. group: sortaNotMega
  8.  
  9. user:watcher
  10. password: spoogle
  11. group: notMega
  12.  
  13. useradd -m -g [group] -p [crypt output] [user]
  14.  
  15. echo -n "Enter $MY_USER password: "
  16. read -sa MY_PASS
  17. echo ${MY_USER}:${MY_PASS}::::/home/${MY_USER}:${DEFAULT_SHELL} | newusers
  18.  
  19. echo "new_passwd" | passwd --stdin new_user
Add Comment
Please, Sign In to add comment