#5705 BLOC 8.2.0 (: sudo gives "can't access tty" errors.

Zarro Boogs per Child bugtracker at laptop.org
Mon Aug 4 19:38:29 EDT 2008

#5705: sudo gives "can't access tty" errors.
   Reporter:  cjb      |       Owner:  mstone                       
       Type:  defect   |      Status:  new                          
   Priority:  blocker  |   Milestone:  8.2.0 (was Update.2)         
  Component:  distro   |     Version:                               
 Resolution:           |    Keywords:  rainbow-integration, security
Next_action:  package  |    Verified:  0                            
  Blockedby:           |    Blocking:                               

Comment(by mtd):

 It seems sugar's hardwaremanager.py can't get nmclient.py to get a dbus
 connection/proxy object to NetworkManager. As you / m_stone suggested, it
 seems consolekit / pam don't do what dbus's "at_console" policy rule
 expects (my terminology here is weak, sorry).  See
 https://bugs.freedesktop.org/show_bug.cgi?id=14053 for an example of the

 I did this as root and it fixed the problem:

 cd /etc/ConsoleKit/run-session.d
 wget --no-check-certificate -O pam-foreground-compat.ck
 init 6

Ticket URL: <http://dev.laptop.org/ticket/5705#comment:19>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list