diff options
Diffstat (limited to 'config-mgmt-users-base.PKGBUILD')
-rw-r--r-- | config-mgmt-users-base.PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config-mgmt-users-base.PKGBUILD b/config-mgmt-users-base.PKGBUILD new file mode 100644 index 0000000..bc50ba8 --- /dev/null +++ b/config-mgmt-users-base.PKGBUILD @@ -0,0 +1,20 @@ +. ${BUILDFILE%/*}/common.sh +pkgver=20161106.2 + +package() { +preamble + +install -d etc +install -dm750 etc/sudoers.d +add-file etc/sudoers.d/00-wheel <<EOF +%wheel ALL=(ALL) ALL +EOF + +add-file etc/systemd/system/shadow.service.d/sort.conf <<EOF +[Service] +ExecStart=/bin/bash -c '/usr/bin/pwck -r && /usr/bin/pwck -s' +ExecStart=/bin/bash -c '/usr/bin/grpck -r && /usr/bin/grpck -s' +EOF + +postamble +} |