TWEAK_USER_HOME

master
neingeist 2 years ago
parent a7f391466a
commit 10ef3975d1

@ -6,4 +6,9 @@ if [ -n "$TWEAK_PROFILE_UMASK" ]; then
sed -i "s/^umask .*/umask $TWEAK_PROFILE_UMASK/" /etc/profile sed -i "s/^umask .*/umask $TWEAK_PROFILE_UMASK/" /etc/profile
fi fi
if [ -n "$TWEAK_USER_HOME" ]; then
echo "Setting home of $USER_NAME to $TWEAK_USER_HOME"
usermod --home "$TWEAK_USER_HOME" "$USER_NAME"
fi
echo "[openssh-server-tweaks] done" echo "[openssh-server-tweaks] done"

Loading…
Cancel
Save