TWEAK_USER_HOME

master
neingeist 1 year 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
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"

Loading…
Cancel
Save