diff options
-rw-r--r-- | regress/allow-deny-users.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/allow-deny-users.sh b/regress/allow-deny-users.sh index 217b15940..32a269afa 100644 --- a/regress/allow-deny-users.sh +++ b/regress/allow-deny-users.sh | |||
@@ -3,7 +3,10 @@ | |||
3 | 3 | ||
4 | tid="AllowUsers/DenyUsers" | 4 | tid="AllowUsers/DenyUsers" |
5 | 5 | ||
6 | me=`whoami` | 6 | me="$LOGNAME" |
7 | if [ "x$me" == "x" ]; then | ||
8 | me=`whoami` | ||
9 | fi | ||
7 | other="nobody" | 10 | other="nobody" |
8 | 11 | ||
9 | test_auth() | 12 | test_auth() |