diff options
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; |