Operating System - HP-UX
1829582 Members
21071 Online
109992 Solutions
New Discussion

kill process of other users

 
SOLVED
Go to solution
rtlplus
Occasional Contributor

kill process of other users

Hi,

how can I get permission to kill processes owned by another user ?
Is there a way to allow killing special processes from other users ?

Mirko
4 REPLIES 4
Shahul
Esteemed Contributor

Re: kill process of other users


Hi

If U have the supervisor privilages then U can kill the process which is owned by others. Otherwise U can't.

Shahul
Victor BERRIDGE
Honored Contributor

Re: kill process of other users

Hi,
It can be done with sam if, the user who will have the right to kill others process has been configured for such purpose using restricted sam, the other alternative would be to use sudo (download it from your preferred HP archive-porting center)

All the best
Victor
rtlplus
Occasional Contributor

Re: kill process of other users

Hi Victor,

yes I can use sudo but if I would grant this user Super User priviliges, he would also be able to shutdown the server, or do other funny things, isn't it ?
By the way, thanks for the quick response.

Mirko
Victor BERRIDGE
Honored Contributor
Solution

Re: kill process of other users

When you configure a user with visudo in order to use sudo, you can specify which command you grant him root privilege when executing, in this case you would grant him to su root only to execute kill (1) cmd...

all the best
Victor