commit 0a1466e946de353d1947a4cdb2210b5699c141dd
parent 3d3989ad766c608d254c8bb43dc22c23acfbb6b6
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Tue, 15 Apr 2025 00:39:09 +0000
Add user and group for "networking" container
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/postinstall.aat b/postinstall.aat
@@ -78,6 +78,7 @@
# containerized services
|line_append_file("wpa_supplicant:x", ":802:", "", "^[^:]*:[^:]*", ".*")
|line_append_file("tinc:x", ":665:", "", "^[^:]*:[^:]*", ".*")
+|line_append_file("networking:x", ":666:", "", "^[^:]*:[^:]*", ".*")
/etc/passwd f +
?i grep -q '^root:.*:{<root_shell>}$'
@@ -101,6 +102,9 @@
|passwd_user("tinc:x:665:665:tinc:/home/tinc:/sbin/nologin")
|shadow_user("tinc:!::0:::::")
+|passwd_user("networking:x:666:666:networking:/home/networking:/sbin/nologin")
+|shadow_user("networking:!::0:::::")
+
|passwd_user("ccx:x:1000:1000:Jan Pobrislo:/home/ccx:/bin/zsh")
|#shadow_user("ccx:*:10000::::::")