blob: 990329c1b56b0f03d15676168b72ccb7d34bff9e (
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=20161112
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=/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
}
|