[MacPorts] #27504: bash completion and sudo password problem

MacPorts noreply at macports.org
Sun Jan 2 05:21:03 PST 2011


#27504: bash completion and sudo password problem
----------------------------------+-----------------------------------------
 Reporter:  heapifyman@…          |       Owner:  raimue@…           
     Type:  defect                |      Status:  new                
 Priority:  Normal                |   Milestone:                     
Component:  base                  |     Version:  1.9.2              
 Keywords:                        |        Port:  bash-completion    
----------------------------------+-----------------------------------------

Comment(by heapifyman@…):

 Replying to [comment:4 heapifyman@…]:
 > Replying to [comment:3 raimue@…]:
 > > Hm, I can't reproduce this problem...
 >
 > I should maybe add that I had
 > {{{
 > Defaults      timestamp_timeout=0
 > }}}
 > set in my sudoers file.
 >
 > Without this, the problem does not occur

 Ignore the above, please. This only works if the password has been entered
 before, obviously.
 But for me, if the password has not been cached before, bash completion
 does not work if port command takes more than one argument, e.g.:
 pressing Tab after
 {{{
 port list a
 }}}
 produces
 {{{
 port list aPassword:
 }}}

 while something like
 {{{
 port installed
 }}}
 works as expected.

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


More information about the macports-tickets mailing list