commit 11ddbd502cd3026f5258c5dc91f47f7d817a1d01
parent 43715a299e08e22eb995715301a071a7dce5ce6d
Author: ccx <ccx@te2000.cz>
Date: Mon, 6 May 2024 18:41:29 +0000
Add wpa_supplicant user
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/postinstall.aat b/postinstall.aat
@@ -74,6 +74,8 @@
|line_append_file("uucp:x", ":14:", "ccx", "^[^:]*:[^:]*", ".*")
# X11
|line_append_file("xorg:x", ":111:", "xorg", "^[^:]*:[^:]*", ".*")
+# containerized services
+|line_append_file("wpa_supplicant:x", ":802:", "", "^[^:]*:[^:]*", ".*")
/etc/passwd f +
?i grep -q '^root:.*:{<root_shell>}$'
@@ -88,6 +90,9 @@
|passwd_user("xorg:x:110:111:xorg:/var/emtpy:/sbin/nologin")
|shadow_user("xorg:!::0:::::")
+|passwd_user("wpa_supplicant:x:802:802:wpa_supplicant:/var/emtpy:/sbin/nologin")
+|shadow_user("wpa_supplicant:!::0:::::")
+
|passwd_user("ccx:x:1000:1000:Jan Pobrislo:/home/ccx:/bin/zsh")
|#shadow_user("ccx:*:10000::::::")