#5705 NORM Never A: sudo gives "can't access tty" errors.

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 26 00:48:06 EST 2007


#5705: sudo gives "can't access tty" errors.
--------------------+-------------------------------------------------------
 Reporter:  cjb     |       Owner:  jg            
     Type:  defect  |      Status:  new           
 Priority:  normal  |   Milestone:  Never Assigned
Component:  distro  |     Version:                
 Keywords:          |    Verified:  0             
 Blocking:          |   Blockedby:                
--------------------+-------------------------------------------------------
 After using sudo on tty1 for a while on Joyride, and switching back and
 forth between tty1 and X, I started to see an error messsage along the
 lines of "can't access tty" when running e.g. "sudo ls" on tty1, and sudo
 refused to grant me root.

 I also noticed that "ssh user at foo" fails with "Permission denied" straight
 away -- adding -v showed that ssh is unable to open /dev/tty (to ask for
 my password, presumably).

 Until this is fixed, I think it might be unwise to continue using sudo as
 a replacement for su.

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



More information about the Bugs mailing list