123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- --- etc/login.defs.orig 2018-04-29 13:42:37.000000000 -0300
- +++ etc/login.defs 2018-05-04 12:08:23.836672298 -0300
- @@ -9,7 +9,7 @@
- # Note: When PAM is used, some modules may enforce a minimum delay (e.g.
- # pam_unix(8) enforces a 2s delay)
- #
- -FAIL_DELAY 3
- +FAIL_DELAY 2
-
- #
- # Enable logging and display of /var/log/faillog login(1) failure info.
- @@ -118,7 +118,7 @@
- # Directory where mailboxes reside, _or_ name of file, relative to the
- # home directory. If you _do_ define both, MAIL_DIR takes precedence.
- #
- -MAIL_DIR /var/spool/mail
- +MAIL_DIR /var/mail
- #MAIL_FILE .mail
-
- #
- @@ -135,7 +135,7 @@
- # fully-rooted pathname of a file containing such a spec.
- #
- #ENV_TZ TZ=CST6CDT
- -#ENV_TZ /etc/tzname
- +ENV_TZ /etc/localtime
-
- #
- # If defined, an HZ environment parameter spec.
- @@ -149,8 +149,8 @@
- # *REQUIRED* The default PATH settings, for superuser and normal users.
- #
- # (they are minimal, add the rest in the shell startup files)
- -ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
- -ENV_PATH PATH=/bin:/usr/bin
- +ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +ENV_PATH PATH=/usr/local/bin:/bin:/usr/bin
-
- #
- # Terminal permissions
- @@ -164,7 +164,7 @@
- # set TTYPERM to either 622 or 600.
- #
- TTYGROUP tty
- -TTYPERM 0600
- +TTYPERM 0620
-
- #
- # Login configuration initializations:
- @@ -190,7 +190,7 @@
- # 022 is the default value, but 027, or even 077, could be considered
- # for increased privacy. There is no One True Answer here: each sysadmin
- # must make up their mind.
- -UMASK 022
- +UMASK 077
-
- #
- # Password aging controls:
- @@ -216,7 +216,7 @@
- #
- # If compiled with cracklib support, sets the path to the dictionaries
- #
- -CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict
- +#CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict
-
- #
- # Min/max values for automatic uid selection in useradd(8)
- @@ -282,7 +282,7 @@
- # phone, home phone). If not defined, no changes are allowed.
- # For backward compatibility, "yes" = "rwh" and "no" = "frwh".
- #
- -CHFN_RESTRICT rwh
- +CHFN_RESTRICT frwh
-
- #
- # Password prompt (%s will be replaced by user name).
- @@ -317,7 +317,7 @@
- # Note: If you use PAM, it is recommended to use a value consistent with
- # the PAM modules configuration.
- #
- -#ENCRYPT_METHOD DES
- +ENCRYPT_METHOD SHA512
-
- #
- # Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.
- @@ -356,7 +356,7 @@
- # If this file exists and is readable, login environment will be
- # read from it. Every line should be in the form name=value.
- #
- -ENVIRON_FILE /etc/environment
- +#ENVIRON_FILE /etc/environment
-
- #
- # If defined, this command is run when removing a user.
- @@ -391,7 +391,7 @@
- # This option is overridden with the -M or -m flags on the useradd(8)
- # command-line.
- #
- -#CREATE_HOME yes
- +CREATE_HOME yes
-
- #
- # Force use shadow, even if shadow passwd & shadow group files are
|