diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2017-02-25 13:53:13 +0100 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-02-26 19:39:44 +0000 |
commit | 3e1b299ff1be8e7ff9dfe0b9e389a61ee2f1b882 (patch) | |
tree | 502e4768190f5521805f594d6feba06354b48434 /community/shadow/useradd-usergroups.patch | |
parent | 29ecdbd2f3cb10686c481194b350bb65680197d6 (diff) | |
download | aports-3e1b299ff1be8e7ff9dfe0b9e389a61ee2f1b882.tar.bz2 aports-3e1b299ff1be8e7ff9dfe0b9e389a61ee2f1b882.tar.xz |
community/shadow: useradd with usergroups
group = 1000 is not a good default as that can be any group and in
most cases gid=1000 is the chrony group.
adduser in alpine creates usergroups so make use useradd does as well.
Diffstat (limited to 'community/shadow/useradd-usergroups.patch')
-rw-r--r-- | community/shadow/useradd-usergroups.patch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/community/shadow/useradd-usergroups.patch b/community/shadow/useradd-usergroups.patch new file mode 100644 index 0000000000..adf297231a --- /dev/null +++ b/community/shadow/useradd-usergroups.patch @@ -0,0 +1,8 @@ +--- a/etc/useradd ++++ b/etc/useradd +@@ -1,5 +1,4 @@ + # useradd defaults file +-GROUP=1000 + HOME=/home + INACTIVE=-1 + EXPIRE= |