commit f3278ef535b580708071896641c50249e5b761f0 parent 87a8c79e38ed8e6efd67de24999436d5bccbb62a Author: Jan Pobrislo <ccx@webprojekty.cz> Date: Wed, 27 Jul 2022 02:49:59 +0200 Do not lock user ccx Diffstat:
M | postinstall.aat | | | 2 | +- |
M | postinstall.fileset | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/postinstall.aat b/postinstall.aat @@ -104,6 +104,6 @@ CN # Managed by /usr/src/core-system |shadow_user("sshd:!:10000::::::") |passwd_user("ccx:x:1000:1000:Jan Pobrislo:/home/ccx:/bin/zsh") -|shadow_user("ccx:!:10000::::::") +|shadow_user("ccx:*:10000::::::") |} diff --git a/postinstall.fileset b/postinstall.fileset @@ -127,7 +127,7 @@ CN # Managed by /usr/src/core-system } }' /etc/shadow f + -!f awk 'BEGIN { FS=OFS=":"; seen=0; line="ccx:!:10000::::::"; split(line, a) } +!f awk 'BEGIN { FS=OFS=":"; seen=0; line="ccx:*:10000::::::"; split(line, a) } $1 == a[1] { for(n in a) { if(a[n] != $n) {