Operating System - HP-UX
1820317 Members
2458 Online
109623 Solutions
New Discussion

start a service with a diferent user

 
Ignacio Javier
Regular Advisor

start a service with a diferent user

Hello:

I have a two node cluster and what i want is to start a service not with root but with other user.
When service Guard starts the packages, it does it with the user root.

¿ Is there any way to do this ?

Thanks everybody
2 REPLIES 2
Florian Heigl (new acc)
Honored Contributor

Re: start a service with a diferent user

Can't you just modify the run command to include /bin/su user -c "runcommand" ?

Florian
yesterday I stood at the edge. Today I'm one step ahead.
Marian_12
New Member

Re: start a service with a diferent user

Non privileged user can control mc sc packages or cluster. You should use access control policy parameters in cluster ascii config file or package .conf file (USER_NAME, USER_HOST, USER_ROLE).