summaryrefslogtreecommitdiffstats
path: root/source/a/shadow/login.defs
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/shadow/login.defs')
-rw-r--r--source/a/shadow/login.defs8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/a/shadow/login.defs b/source/a/shadow/login.defs
index dde37c97b..e52f91a53 100644
--- a/source/a/shadow/login.defs
+++ b/source/a/shadow/login.defs
@@ -300,7 +300,7 @@ CHFN_RESTRICT frwh
# If set to DES, DES-based algorithm will be used for encrypting password (default)
# Overrides the MD5_CRYPT_ENAB option
#
-ENCRYPT_METHOD MD5
+ENCRYPT_METHOD SHA256
#
# Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.
@@ -327,7 +327,9 @@ ENCRYPT_METHOD MD5
# access to these groups, even when not logged in on the console.
# How to do it is left as an exercise for the reader...
#
-# Most of these groups are self-explanatory.
+# Most of these groups are self-explanatory, but in the case of
+# "lp", it is because group lp is needed to use a scanner that
+# is part of a multifunction printer.
#
# Note that users are added to these default groups only when
# logging into a shell with /bin/login, not when using a login
@@ -336,7 +338,7 @@ ENCRYPT_METHOD MD5
# when the user is added with adduser or useradd, or by editing
# /etc/group directly, preferably using "vigr"
#
-CONSOLE_GROUPS floppy:audio:cdrom:video:scanner
+CONSOLE_GROUPS floppy:audio:cdrom:video:lp:scanner
#
# Should login be allowed if we can't cd to the home directory?