diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-04-24 23:59:51 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-05-01 17:06:40 -0500 |
commit | ca608c875b3b23c601fab5ae1616bdc3c2e4fd77 (patch) | |
tree | a2e4ea83317832a6d598bd0f6752f5e43a36dccc /system/shadow/useradd-defaults.patch | |
parent | 54b27676ade77260bd812fc194bce092e7d26d13 (diff) | |
download | packages-ca608c875b3b23c601fab5ae1616bdc3c2e4fd77.tar.gz packages-ca608c875b3b23c601fab5ae1616bdc3c2e4fd77.tar.bz2 packages-ca608c875b3b23c601fab5ae1616bdc3c2e4fd77.tar.xz packages-ca608c875b3b23c601fab5ae1616bdc3c2e4fd77.zip |
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.
Diffstat (limited to 'system/shadow/useradd-defaults.patch')
-rw-r--r-- | system/shadow/useradd-defaults.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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; |