[MacPorts] #20907: sudo succeeds install but fails on usage

MacPorts noreply at macports.org
Wed Sep 2 11:20:34 PDT 2009


#20907: sudo succeeds install but fails on usage
----------------------------------+-----------------------------------------
  Reporter:  guy.kogus@…          |       Owner:  snc@…           
      Type:  defect               |      Status:  reopened        
  Priority:  Normal               |   Milestone:                  
 Component:  ports                |     Version:  1.8.0           
Resolution:                       |    Keywords:  snowleopard     
      Port:  sudo                 |  
----------------------------------+-----------------------------------------
Changes (by snc@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 There are missing Defaults lines in the sudoers files that is distributed!
 {{{
 Defaults        env_reset
 Defaults        env_keep += "BLOCKSIZE"
 Defaults        env_keep += "COLORFGBG COLORTERM"
 Defaults        env_keep += "__CF_USER_TEXT_ENCODING"
 Defaults        env_keep += "CHARSET LANG LANGUAGE LC_ALL LC_COLLATE
 LC_CTYPE"
 Defaults        env_keep += "LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME"
 Defaults        env_keep += "LINES COLUMNS"
 Defaults        env_keep += "LSCOLORS"
 Defaults        env_keep += "SSH_AUTH_SOCK"
 Defaults        env_keep += "TZ"
 Defaults        env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY"
 Defaults        env_keep += "EDITOR VISUAL"

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20907#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list