Advertisement
Guest User

Untitled

a guest
Jun 28th, 2015
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. pi@raspberrypi ~ $
  2. pi@raspberrypi ~ $ sudo usermod –a –G lpadmin pi
  3. Usage: usermod [options] LOGIN
  4.  
  5. Options:
  6. -c, --comment COMMENT new value of the GECOS field
  7. -d, --home HOME_DIR new home directory for the user account
  8. -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
  9. -f, --inactive INACTIVE set password inactive after expiration
  10. to INACTIVE
  11. -g, --gid GROUP force use GROUP as new primary group
  12. -G, --groups GROUPS new list of supplementary GROUPS
  13. -a, --append append the user to the supplemental GROUPS
  14. mentioned by the -G option without removing
  15. him/her from other groups
  16. -h, --help display this help message and exit
  17. -l, --login NEW_LOGIN new value of the login name
  18. -L, --lock lock the user account
  19. -m, --move-home move contents of the home directory to the
  20. new location (use only with -d)
  21. -o, --non-unique allow using duplicate (non-unique) UID
  22. -p, --password PASSWORD use encrypted password for the new password
  23. -R, --root CHROOT_DIR directory to chroot into
  24. -s, --shell SHELL new login shell for the user account
  25. -u, --uid UID new UID for the user account
  26. -U, --unlock unlock the user account
  27. -Z, --selinux-user SEUSER new SELinux user mapping for the user account
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement