Bug 98

Summary: sudo does not execute kill command with -ABRT signal
Product: Sudo Reporter: Oleg Dashevskiy <odashevskiy>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED INVALID    
Severity: normal    
Priority: normal    
Version: 1.6.6   
Hardware: IBM   
OS: AIX   

Description Oleg Dashevskiy 2003-01-20 17:04:10 MST
When "kill -ABRT <pid>" command is executed under sudo the kill command does 
not recognize ABRT signal (signal -6 did work). 
spd01:/home/crc >sudo kill -ABRT 101230
Password:
bad signal number
usage: kill [ -signal | -s signal] pid ...
usage: kill -l [exit_status]

sudo did let me use the SEGV signal name, however:

spd01:/home/crc >sudo kill -SEGV 101230

The OS is AIX running on IBM RS-6000.
The version of sudo is 1.6.6.
Comment 1 Todd C. Miller 2003-03-13 18:36:03 MST
This is not a bug in sudo.  The problem is that your shell's builtin kill command recognizes -ABRT but /usr/bin/kill (or whichever version of kill is in your PATH) does not.