chmod 700 /bin/kill chown root /bin/kill
but a normal user can still do:
... and successfully kill the app 'blah' running under the user's account.
I'm using Ubuntu (8.10). The bash shell apparently has the kill command built-in and so attempting the above will not work.
Using .bashrc the enable command could be used to disable the built-in kill command each time a terminal is launched, but the .bashrc could then simply be edited by the user using a text editor launched via the GUI to re-enable the kill command. Can I somehow disable a built-in bash command permanently without using .bashrc (which is user-editable)?
Anyone any ideas how I can disable the built-in kill?