Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. root@Raciatek:/home# useradd -m /home/aurel aurel
  2. Usage: useradd [options] LOGIN
  3. useradd -D
  4. useradd -D [options]
  5.  
  6. Options:
  7. -b, --base-dir BASE_DIR base directory for the home directory of the
  8. new account
  9. -c, --comment COMMENT GECOS field of the new account
  10. -d, --home-dir HOME_DIR home directory of the new account
  11. -D, --defaults print or change default useradd configuration
  12. -e, --expiredate EXPIRE_DATE expiration date of the new account
  13. -f, --inactive INACTIVE password inactivity period of the new account
  14. -g, --gid GROUP name or ID of the primary group of the new
  15. account
  16. -G, --groups GROUPS list of supplementary groups of the new
  17. account
  18. -h, --help display this help message and exit
  19. -k, --skel SKEL_DIR use this alternative skeleton directory
  20. -K, --key KEY=VALUE override /etc/login.defs defaults
  21. -l, --no-log-init do not add the user to the lastlog and
  22. faillog databases
  23. -m, --create-home create the user's home directory
  24. -M, --no-create-home do not create the user's home directory
  25. -N, --no-user-group do not create a group with the same name as
  26. the user
  27. -o, --non-unique allow to create users with duplicate
  28. (non-unique) UID
  29. -p, --password PASSWORD encrypted password of the new account
  30. -r, --system create a system account
  31. -R, --root CHROOT_DIR directory to chroot into
  32. -s, --shell SHELL login shell of the new account
  33. -u, --uid UID user ID of the new account
  34. -U, --user-group create a group with the same name as the user
  35. -Z, --selinux-user SEUSER use a specific SEUSER for the SELinux user mapping
  36. --extrausers Use the extra users database
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement