1 --- etc/login.defs.orig 2018-04-29 13:42:37.000000000 -0300
2 +++ etc/login.defs 2018-05-04 12:08:23.836672298 -0300
4 # Note: When PAM is used, some modules may enforce a minimum delay (e.g.
5 # pam_unix(8) enforces a 2s delay)
11 # Enable logging and display of /var/log/faillog login(1) failure info.
13 # Directory where mailboxes reside, _or_ name of file, relative to the
14 # home directory. If you _do_ define both, MAIL_DIR takes precedence.
16 -MAIL_DIR /var/spool/mail
22 # fully-rooted pathname of a file containing such a spec.
26 +ENV_TZ /etc/localtime
29 # If defined, an HZ environment parameter spec.
31 # *REQUIRED* The default PATH settings, for superuser and normal users.
33 # (they are minimal, add the rest in the shell startup files)
34 -ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
35 -ENV_PATH PATH=/bin:/usr/bin
36 +ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
37 +ENV_PATH PATH=/usr/local/bin:/bin:/usr/bin
40 # Terminal permissions
42 # set TTYPERM to either 622 or 600.
49 # Login configuration initializations:
51 # 022 is the default value, but 027, or even 077, could be considered
52 # for increased privacy. There is no One True Answer here: each sysadmin
53 # must make up their mind.
58 # Password aging controls:
61 # If compiled with cracklib support, sets the path to the dictionaries
63 -CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict
64 +#CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict
67 # Min/max values for automatic uid selection in useradd(8)
69 # phone, home phone). If not defined, no changes are allowed.
70 # For backward compatibility, "yes" = "rwh" and "no" = "frwh".
76 # Password prompt (%s will be replaced by user name).
78 # Note: If you use PAM, it is recommended to use a value consistent with
79 # the PAM modules configuration.
82 +ENCRYPT_METHOD SHA512
85 # Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.
87 # If this file exists and is readable, login environment will be
88 # read from it. Every line should be in the form name=value.
90 -ENVIRON_FILE /etc/environment
91 +#ENVIRON_FILE /etc/environment
94 # If defined, this command is run when removing a user.
96 # This option is overridden with the -M or -m flags on the useradd(8)
103 # Force use shadow, even if shadow passwd & shadow group files are