diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server index a9a9aed..693c062 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -163,7 +163,7 @@ case $COMMAND in MODE="authorized_keys" # check all specified users exist - if ! getent passwd | cut -d: -f1 | grep -q "^${uname}$" ; then + if ! getent passwd "$uname" >/dev/null ; then error "----- unknown user '$uname' -----" continue fi |