summaryrefslogtreecommitdiff
path: root/system/shadow/useradd-defaults.patch
blob: 0078e867f58a997d9f3599636e09a91539be1d33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;