diff --git a/debian/patches/debian/Adapt-login.defs-for-Debian.patch b/debian/patches/debian/Adapt-login.defs-for-Debian.patch index 4cf0182c..a20ffef8 100644 --- a/debian/patches/debian/Adapt-login.defs-for-Debian.patch +++ b/debian/patches/debian/Adapt-login.defs-for-Debian.patch @@ -7,11 +7,11 @@ Remove settings only applicable without PAM support enabled. Remove obscure commented-out settings. Remove explanation about write(1), which Debian does not ship anymore. --- - etc/login.defs | 360 ++++----------------------------------------------------- - 1 file changed, 25 insertions(+), 335 deletions(-) + etc/login.defs | 367 ++++----------------------------------------------------- + 1 file changed, 25 insertions(+), 342 deletions(-) diff --git a/etc/login.defs b/etc/login.defs -index 966724c..9a73539 100644 +index 966724c..94c6af1 100644 --- a/etc/login.defs +++ b/etc/login.defs @@ -1,133 +1,20 @@ @@ -413,30 +413,30 @@ index 966724c..9a73539 100644 # # Should login be allowed if we can't cd to the home directory? -@@ -401,12 +145,6 @@ DEFAULT_HOME yes - # +@@ -402,72 +146,11 @@ DEFAULT_HOME yes NONEXISTENT /nonexistent --# + # -# 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 -- - # - # If defined, this command is run when removing a user. - # It should remove any at/cron/print jobs etc. owned by -@@ -415,59 +153,11 @@ ENVIRON_FILE /etc/environment - #USERDEL_CMD /usr/sbin/userdel_local - - # --# Enable setting of the umask group bits to be the same as owner bits --# (examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is --# the same as gid, and username is the same as the primary group name. +# If set to yes, userdel(8) will remove the user's group if it contains no more +# members, and useradd(8) will create by default a group with the name of the +# user. # +-ENVIRON_FILE /etc/environment +- +-# +-# If defined, this command is run when removing a user. +-# It should remove any at/cron/print jobs etc. owned by +-# the user to be removed (passed as the first argument). +-# +-#USERDEL_CMD /usr/sbin/userdel_local +- +-# +-# Enable setting of the umask group bits to be the same as owner bits +-# (examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is +-# the same as gid, and username is the same as the primary group name. +-# -# This also enables userdel(8) to remove user groups if no members exist. +# Other former uses of this variable are not used in PAM environments, such as +# Debian.