Bug 179 - Sudo confuses terminal
Sudo confuses terminal
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.5
PC Linux
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-13 01:50 MDT by Alex Romaniuk
Modified: 2005-05-13 17:15 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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