commit a4f36429f9597be5ee3f9dcedda6c21175387599
parent 05a8ff033bb79b107b5f5812db7d7f46b0549545
Author: ccx <ccx@te2000.cz>
Date: Thu, 7 Mar 2024 16:55:01 +0000
gentoo, do not prepend to groups
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/postinstall.aat b/postinstall.aat
@@ -64,13 +64,13 @@
/etc +
/etc/group +
-|line_append_file("sshd:x", ":22:", "", "^[^:]*:[^:]*")
-|line_append_file("dhcpcd:x", ":546:", "", "^[^:]*:[^:]*")
-|line_append_file("ccx:x", ":1000:", "", "^[^:]*:[^:]*")
+|line_append_file("sshd:x", ":22:", "", "^[^:]*:[^:]*", ".*")
+|line_append_file("dhcpcd:x", ":546:", "", "^[^:]*:[^:]*", ".*")
+|line_append_file("ccx:x", ":1000:", "", "^[^:]*:[^:]*", ".*")
# Groups for /dev permissions (mdevd.conf): disk, input, uucp
-|line_append_file("disk:x", ":6:", "root,adm", "^[^:]*:[^:]*")
-|line_append_file("input:x", ":966:", "xorg", "^[^:]*:[^:]*")
-|line_append_file("uucp:x", ":14:", "ccx", "^[^:]*:[^:]*")
+|line_append_file("disk:x", ":6:", "root,adm", "^[^:]*:[^:]*", ".*")
+|line_append_file("input:x", ":97:", "xorg", "^[^:]*:[^:]*", ".*")
+|line_append_file("uucp:x", ":14:", "ccx", "^[^:]*:[^:]*", ".*")
/etc/passwd f +
?i grep -q '^root:.*:{<root_shell>}$'