Skip to content

Commit 2a26f8f

Browse files
committed
Adding /usr/sbin/ to PATH in adduser.sh for alpinelinux
s6 3.0.0.2 does not set PATH properly which makes adduser not work. Setting it till future version allows setting PATH.
1 parent 3d05515 commit 2a26f8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alpinelinux/root/etc/cont-init.d/01-adduser.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/command/with-contenv bash
22
# shellcheck shell=bash
33

4+
export PATH=$PATH:/usr/sbin/ # s6 3.0.0.2 doesn't set PATH properly
45
set -eu
56

67
if [[ $EUID -ne 0 ]]; then

0 commit comments

Comments
 (0)