We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/etc/passwd
1 parent f62e1c3 commit 6357888Copy full SHA for 6357888
1 file changed
build/bin/user_setup
@@ -6,8 +6,7 @@ mkdir -p ${HOME}
6
chown ${USER_UID}:0 ${HOME}
7
chmod ug+rwx ${HOME}
8
9
-# runtime user will need to be able to self-insert in /etc/passwd
10
-chmod g+rw /etc/passwd
+chmod g-w /etc/passwd
11
12
# no need for this script to remain in the image after running
13
rm $0
0 commit comments