Actually I can't take the risk to install this utility on the production system, but I will test on a test machine.
Anyway, Thanks a lot of your reply, it looks like a usefull utility
Hi all
I have a SUN Cluster Server 7, as a root user I can start or stop the HA services using the
#hareg command
I need to give a prmission to a normal user to that command so he can start and stop the process.
I tried to give full permission to the command 777, but it didn't work...
Solaris 2.7 Sparc , Ksh:
I have a script that checks for a process ID by grep a string from the output of the ps , depend on the existance of the process,it performs a specific action.
PID=`/usr/bin/ps -eo pid,comm,args | grep "process string" | /usr/bin/awk '{print $1}'`
The command...
If you run Solaris 8, there is a new shell called restricted shell , it is located under /usr/lib/rsh .
assign it to the user instead of the normal shells, , he will not have any privilage to go ouside his home directory
I hope it will be usefull to you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.