Skip to content

Commit f3f26ab

Browse files
committed
fix (project-clone) : update user_setup script to modify /etc/passwd permissions/ownership
Update user_setup script to not make `/etc/passwd` group writable Signed-off-by: Rohan Kumar <[email protected]>
1 parent f62e1c3 commit f3f26ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/bin/user_setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ chown ${USER_UID}:0 ${HOME}
77
chmod ug+rwx ${HOME}
88

99
# runtime user will need to be able to self-insert in /etc/passwd
10-
chmod g+rw /etc/passwd
10+
chmod g-w /etc/passwd
1111

1212
# no need for this script to remain in the image after running
1313
rm $0

0 commit comments

Comments
 (0)