Red Hat Bugzilla – Bug 121233
"sudo tail -f <somefile>" can't be stopped or interrupted with Ctrl+Z/Ctrl+C
Last modified: 2007-11-30 17:10:40 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. "sudo tail -f /var/log/messages"
2. if necessary, type in password
3. try to interrupt with Ctrl+C or to stop with Ctrl+Z
process stops or gets interrupted
all this is run from bash
When running from a sudo'ed root shell ("sudo su -"), Ctrl+Z works as
expected, but Ctrl-C doesn't interrupt the process.
Fixed in sudo-1.6.7p5-26