mr_suleyman
23rd January 2006, 09:07
Hi All Dear Friends, I want to run licmon6.1 with "-k" option with normal users.(non-root user in unix) . But I can run it with "-u" "-w" options like that .How can I run it with -k option ?. When I want to run licmon with -k option . Unix gives "You must have root permission to issue this command" I controlled permission for it. I gave +x to all. But I can run it
with other options expect that -k.

Thanks for your assists !

jclju1
23rd January 2006, 09:49
Option -k is "kill process. You can kill only your own bshell process on unix if you are not a root user. So, you can start licmon6.1 -k but you can't kill processes from other users.

mr_suleyman
23rd January 2006, 10:08
I mean that it is impossible ? . Anyway is there any way to run it ? My target is to run restart licmon by using licmon6.1 -k & licd6.1 when program gives maximum number warning .

jclju1
23rd January 2006, 11:01
You are right, I made mistake. licmon6.1 -k kill license daemon. I think you have to be root for starting this command.

patvdv
23rd January 2006, 12:09
To run licmon6.1 -k the options are:

run as root. Ask your system administrator if necessary
run with root privileges using a tool like SUDO (http://www.courtesan.com/sudo/) or SUPER (http://www.ucolick.org/~will/#super).
use a root setuid script to kill and restart the licd process. (dangerous!)


You cannot manipulate the licd process with normal user privileges as it is owned by root.

mr_suleyman
23rd January 2006, 14:57
I got it patvdv , they are diffucult and dangerous solutions for the system.
I think that lic is a program and there should be a way to run it witk -k option by using normal user. I see it is impossible that your assist has sequrity risk for me !

Thank you for your attention