Commit 1ab4008b authored by tbrehm's avatar tbrehm
Browse files

Fix: FS#866 - bad handling of environment variables with jailkit ssh users in...

Fix: FS#866 - bad handling of environment variables with jailkit ssh users in server/conf/bash.bashrc.master
parent a3205eca
<tmpl_if name='jailkit_chroot'>
## Hack for Jailkit User to change back to the logged in user ##
if [ "$LOGNAME" != $USER ]; then
export HOME=<tmpl_var name='home_dir'>$LOGNAME
export USER=$LOGNAME
export USERNAME=$LOGNAME
cd $HOME
if [ -n "$LOGNAME" ]; then
if [ "$LOGNAME" != $USER ]; then
export HOME=<tmpl_var name='home_dir'>$LOGNAME
export USER=$LOGNAME
export USERNAME=$LOGNAME
cd $HOME
fi
fi
## Change machine hostname to site domain ##
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment