From ca608c875b3b23c601fab5ae1616bdc3c2e4fd77 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 24 Apr 2022 23:59:51 -0500 Subject: system/shadow: Update to 4.11.1 Disable su(1) because it is marked deprecated upstream. Ensure documentation is built. Fix defaults for real this time. Provide a groups.1 manpage. --- system/shadow/useradd-defaults.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 system/shadow/useradd-defaults.patch (limited to 'system/shadow/useradd-defaults.patch') diff --git a/system/shadow/useradd-defaults.patch b/system/shadow/useradd-defaults.patch new file mode 100644 index 000000000..0078e867f --- /dev/null +++ b/system/shadow/useradd-defaults.patch @@ -0,0 +1,18 @@ +--- shadow-4.11.1/src/useradd.c.old 2022-01-02 18:46:53.000000000 -0600 ++++ shadow-4.11.1/src/useradd.c 2022-04-24 23:26:03.511726397 -0500 +@@ -79,12 +79,12 @@ + /* + * These defaults are used if there is no defaults file. + */ +-static gid_t def_group = 1000; ++static gid_t def_group = 100; + static const char *def_gname = "other"; + static const char *def_home = "/home"; +-static const char *def_shell = "/bin/bash"; ++static const char *def_shell = "/bin/zsh"; + static const char *def_template = SKEL_DIR; +-static const char *def_create_mail_spool = "yes"; ++static const char *def_create_mail_spool = "no"; + static const char *def_log_init = "yes"; + + static long def_inactive = -1; -- cgit v1.2.3-60-g2f50