From: Todd C. Miller Date: Sun, 13 Feb 2011 15:17:32 +0000 (-0500) Subject: don't remap numeric uids/gids to names; if the user specified and id instead of a... X-Git-Tag: SUDO_1_7_5~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d9772f82b3707d9e079bb78edd300bf51b18640;p=sudo don't remap numeric uids/gids to names; if the user specified and id instead of a name, they probably mean it --HG-- branch : 1.7 --- diff --git a/pp b/pp index 6d622d4e1..96706b0d6 100755 --- a/pp +++ b/pp @@ -1435,8 +1435,8 @@ pp_debug "symlink target is $_tgt" esac # convert numeric uids into usernames; only works for /etc/passwd - case "$_o" in [0-9]*) _o=`pp_getpwuid $_o`;; esac - case "$_g" in [0-9]*) _g=`pp_getgrgid $_g`;; esac + #case "$_o" in [0-9]*) _o=`pp_getpwuid $_o`;; esac + #case "$_g" in [0-9]*) _g=`pp_getgrgid $_g`;; esac pp_debug "$_type $_m $_o $_g $_f $_path" $_tgt $_ignore || echo "$_type $_m $_o $_g $_f $_path" $_tgt