diff options
author | Nicolas Iooss | 2020-06-12 21:12:00 +0200 |
---|---|---|
committer | Nicolas Iooss | 2020-06-12 21:12:00 +0200 |
commit | a0c1be32a0406d5e8744c543535f46cb8eb66158 (patch) | |
tree | 8ce36ebd7ca4584b436ac979e2cb4792aa97f585 /initcpio-install-systemd | |
parent | dc04c9c160ae80ec4bbebe7535fecf4638a97063 (diff) | |
download | aur-a0c1be32a0406d5e8744c543535f46cb8eb66158.tar.gz |
systemd-selinux 245.6-6 update
Diffstat (limited to 'initcpio-install-systemd')
-rw-r--r-- | initcpio-install-systemd | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/initcpio-install-systemd b/initcpio-install-systemd index 0a9740bae706..8bc072b5da4f 100644 --- a/initcpio-install-systemd +++ b/initcpio-install-systemd @@ -169,36 +169,9 @@ build() { 'group: files' \ 'shadow: files' - add_file /etc/passwd <<EOF -root:x:0:0:Super User:/root:/bin/sh -nobody:x:65534:65534:Nobody:/:/usr/bin/nologin -EOF - - add_file /etc/shadow <<EOF -root:!!:0:::::: -nobody:!!:0:::::: -EOF - - add_file /etc/group <<EOF -root:x:0: -tty:x:5: -users:x:985: -video:x:986: -uucp:x:987: -storage:x:988: -render:x:989: -optical:x:990: -lp:x:991: -kvm:x:992: -input:x:993: -disk:x:994: -audio:x:995: -utmp:x:996: -kmem:x:997: -wheel:x:998: -adm:x:999: -nobody:x:65534: -EOF + echo "root:x:0:0:root:/:/bin/sh" >"$BUILDROOT/etc/passwd" + echo 'root:*:::::::' >"$BUILDROOT/etc/shadow" + getent group root audio disk input kmem kvm lp optical render storage tty uucp video | awk -F: ' { print $1 ":x:" $3 ":" }' >"$BUILDROOT/etc/group" add_dir "/etc/modules-load.d" ( |