hpvmstatus run as root only? (236 Views)
Reply
Occasional Visitor
LesterKwan
Posts: 2
Registered: ‎02-24-2014
Message 1 of 4 (236 Views)
Accepted Solution

hpvmstatus run as root only?

[ Edited ]

Is it possible to run "hpvmstatus" without root account?

 

I would like to let operator to perform the health check of VM status.

 

 

P.S. This thread ahs been moevd from HP-UX > System Administration to HP-UX > Virtualization. - Hp forum Moderator

Acclaimed Contributor
Dennis Handly
Posts: 25,200
Registered: ‎03-06-2006
Message 2 of 4 (221 Views)

Re: hpvmstatus run as root only?

Have you looked into using sudo?

Respected Contributor
Stan_M
Posts: 101
Registered: ‎09-12-2011
Message 3 of 4 (198 Views)

Re: hpvmstatus run as root only?

hpvmstatus cannot be directly run by non-root.

 

Either try sudo or you'd have to play with suid bit, which may be somewhat riskier.

Occasional Visitor
LesterKwan
Posts: 2
Registered: ‎02-24-2014
Message 4 of 4 (184 Views)

Re: hpvmstatus run as root only?

It's work by using sudo.

 

Thanks a lot

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.