diff options
author | krebs <krebs@UTART> | 2011-05-05 11:14:26 +0200 |
---|---|---|
committer | krebs <krebs@UTART> | 2011-05-05 11:14:26 +0200 |
commit | 7e11a0b522704c94094b8efc7f4c3fed00fea760 (patch) | |
tree | d550d7ae4a6c0f58c00dab47831f9a53ab177efe /modules/noise | |
parent | 55c4074c34a9d144f85389f2d53367fef1c30852 (diff) |
noise-as-user: s/sudo/su/
Diffstat (limited to 'modules/noise')
-rwxr-xr-x | modules/noise/noise-as-user | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/noise/noise-as-user b/modules/noise/noise-as-user index 15af5f03..21e4102f 100755 --- a/modules/noise/noise-as-user +++ b/modules/noise/noise-as-user @@ -1,4 +1,4 @@ #! /bin/sh qname="`readlink -f "$0"`" dirname="`dirname "$qname"`" -exec sudo -u noise env -i TCPREMOTEIP="$TCPREMOTEIP" "$dirname/noise" +exec su noise -c "env -i TCPREMOTEIP='$TCPREMOTEIP' '$dirname/noise'" |