Created
March 26, 2018 15:44
-
-
Save rodgert/aa6f43fff18691c64c6f388b85f03c2b to your computer and use it in GitHub Desktop.
f27 with perms fixup con.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
USER_ID=${LOCAL_USER_ID:-9001} | |
echo "Starting with UID : $USER_ID" | |
useradd --shell /bin/bash -u $USER_ID -o -c "" -m user | |
export HOME=/home/user | |
exec /usr/local/bin/gosu user "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment