diff options
Diffstat (limited to 'runas')
| -rwxr-xr-x | runas | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -9,7 +9,7 @@ export LOCALE="en_ZA.UTF-8" export PATH=$PATH:. export HISTFILE=$HOME/.histfile export HISTSIZE=8192 -umask 077 +umask 033 set -o emacs set -o utf8-mode PS1='${ local e=$?; local r=""; (( $e )) && r="<$e>"; @@ -49,6 +49,8 @@ else cd $HOME printf '\033k'"$1"'\033\\' xhost +local: - sudo -u $1 -s /home/$1/$1 + usr=$1 + shift + sudo -u $usr -s /home/$usr/$usr $* xhost -local: fi; |
