Bug 98 - sudo does not execute kill command with -ABRT signal
sudo does not execute kill command with -ABRT signal
Status: RESOLVED INVALID
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.6
IBM AIX
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-20 17:04 MST by Oleg Dashevskiy
Modified: 2003-03-13 22:36 MST (History)
0 users

See Also:


Attachments

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