Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. mike@acer64:~$ sudo adduser test
  2. [sudo] password for mike:
  3. Adding user `test' ...
  4. Adding new group `test' (1001) ...
  5. Adding new user `test' (1001) with group `test' ...
  6. Creating home directory `/home/test' ...
  7. Copying files from `/etc/skel' ...
  8. Enter new UNIX password:
  9. Retype new UNIX password:
  10. passwd: password updated successfully
  11. Changing the user information for test
  12. Enter the new value, or press ENTER for the default
  13. Full Name []: test
  14. Room Number []:
  15. Work Phone []:
  16. Home Phone []:
  17. Other []:
  18. Is the information correct? [Y/n] y
  19. mike@acer64:~$ sudo grep test /etc/group
  20. test:x:1001:
  21. mike@acer64:~$ su -l test
  22. Password:
  23. test@acer64:~$ groups
  24. test
  25. test@acer64:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement