Advertisement
mouseclone

/etc/login.defs

May 12th, 2015
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Please note that the parameters in this configuration file control the
  2. # behavior of the tools from the shadow-utils component. None of these
  3. # tools uses the PAM mechanism, and the utilities that use PAM (such as the
  4. # passwd command) should therefore be configured elsewhere. Refer to
  5. # /etc/pam.d/system-auth for more information.
  6. # *REQUIRED*
  7. #   Directory where mailboxes reside, _or_ name of file, relative to the
  8. #   home directory.  If you _do_ define both, MAIL_DIR takes precedence.
  9. #   QMAIL_DIR is for Qmail
  10. #QMAIL_DIR      Maildir
  11. MAIL_DIR        /var/spool/mail
  12. #MAIL_FILE      .mail
  13. # Password aging controls:
  14. #       PASS_MAX_DAYS   Maximum number of days a password may be used.
  15. #       PASS_MIN_DAYS   Minimum number of days allowed between password changes.
  16. #       PASS_MIN_LEN    Minimum acceptable password length.
  17. #       PASS_WARN_AGE   Number of days warning given before a password expires.
  18. PASS_MAX_DAYS   90
  19. PASS_MIN_DAYS   0
  20. PASS_MIN_LEN    8
  21. PASS_WARN_AGE   15
  22. # Min/max values for automatic uid selection in useradd
  23. UID_MIN                   500
  24. UID_MAX                 60000
  25. # Min/max values for automatic gid selection in groupadd
  26. GID_MIN                   500
  27. GID_MAX                 60000
  28. # If defined, this command is run when removing a user.
  29. # It should remove any at/cron/print jobs etc. owned by
  30. # the user to be removed (passed as the first argument).
  31. #USERDEL_CMD    /usr/sbin/userdel_local
  32. # If useradd should create home directories for users by default
  33. # On RH systems, we do. This option is overridden with the -m flag on
  34. # useradd command line.
  35. CREATE_HOME     yes
  36. # The permission mask is initialized to this value. If not specified,
  37. # the permission mask will be initialized to 022.
  38. UMASK           077
  39. # This enables userdel to remove user groups if no members exist.
  40. #
  41. USERGROUPS_ENAB yes
  42. # Use SHA512 to encrypt password.
  43. ENCRYPT_METHOD MD5
  44. MD5_CRYPT_ENAB yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement