Bug 179

Summary: Sudo confuses terminal
Product: Sudo Reporter: Alex Romaniuk <ales.romaniuk>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: normal    
Version: 1.6.5   
Hardware: PC   
OS: Linux   

Description Alex Romaniuk 2005-05-13 01:50:51 MDT
There was a strange problem happened last week. If I did su, everything works
fine, if I did sudo su, terminal became confused (after any key pressed, a
carriage return was also processed). I spent an hour to go thru login
scripts,where can be a problem, when I realized strange setting in sudoers.

Sudoers was copied from Sun/Solaris machine, and the syslog setting was there:
# Defaults specification
Defaults        syslog=auth
Defaults        log_year, logfile=/var/adm/sudo.log

The problem is, that /var/adm directory doesn't exist on linux OS.
I changed /var/adm into existing /var/log, and then the problem was gone.
Comment 1 Todd C. Miller 2005-05-13 13:15:07 MDT
Fixed in sudo 1.6.8p8