We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69cf34d commit 348399eCopy full SHA for 348399e
1 file changed
root/etc/s6-overlay/s6-rc.d/init-adduser/run
@@ -1,7 +1,7 @@
1
#!/usr/bin/with-contenv bash
2
# shellcheck shell=bash
3
4
-if [[ -n "$USER_NAME" ]] && grep -q "^${USER_NAME}" /etc/passwd; then
+if [[ -n "$USER_NAME" ]] && [[ "$USER_NAME" != "abc" ]] && grep -q "^${USER_NAME}" /etc/passwd; then
5
echo "*** USER_NAME cannot be set to an user that already exists in /etc/passwd. Halting init. ***"
6
sleep infinity
7
else
0 commit comments