--- a/match.c Tue Feb 09 10:43:20 2010 -0500 +++ a/match.c Mon Feb 22 17:29:44 2010 -0500 @@ -375,7 +375,7 @@ char *sudoers_args; { /* Check for pseudo-commands */ - if (strchr(user_cmnd, '/') == NULL) { + if (sudoers_cmnd[0] != '/') { /* * Return true if both sudoers_cmnd and user_cmnd are "sudoedit" AND * a) there are no args in sudoers OR