]> granicus.if.org Git - sudo/commitdiff
don't remap numeric uids/gids to names; if the user specified and id instead of a...
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 13 Feb 2011 15:17:32 +0000 (10:17 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 13 Feb 2011 15:17:32 +0000 (10:17 -0500)
--HG--
branch : 1.7

pp

diff --git a/pp b/pp
index 6d622d4e1f5d83c04ccfc5e0aa8dc61dca889b49..96706b0d69315be24c193ef69e0c684b1b36804f 100755 (executable)
--- 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