blob: 7e08c4dcf8b0a4eeb3c61d7428c8158272d397ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
. ${BUILDFILE%/*}/common.sh
pkgver=20170407
package() {
preamble
# #### users
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=
ExecStart=/bin/bash -c '/usr/bin/pwck -r && /usr/bin/pwck -s && /usr/bin/grpck -r && /usr/bin/grpck -s'
EOF
postamble
}
|