1836603 Members
1984 Online
110102 Solutions
New Discussion

Re: hpvminfo

 
SOLVED
Go to solution
Eric_68
Advisor

hpvminfo

How can the regular to run this command to get the host info?

$ hpvminfo -V
hpvminfo: Permission denied - user must be root to run.
hpvminfo: Unable to continue.

$ ll /opt/hpvm/bin/hpvminfo
-r-xr-xr-x 1 bin bin 82616 Jul 2 2008 /opt/hpvm/bin/hpvminfo
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor
Solution

Re: hpvminfo

Hi:

You could setup 'sudo' to allow this to be run by a particular user, a group of users or everyone.

Regards!

...JRF...
Eric_68
Advisor

Re: hpvminfo

sudo is never allowed by stupid UNIX team.
James R. Ferguson
Acclaimed Contributor

Re: hpvminfo

Hi (again):

> sudo is never allowed by stupid UNIX team.

Interesting. Another way would be to have the system administrator create a setuid C-code wrapper for exactly the command needed. Of course, I suspect that this is all academic.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: hpvminfo

I would say you are pretty much out of luck then.

If you cannot work with your Unix admins to get this information then there is not much that can be done.
Eric_68
Advisor

Re: hpvminfo

Hi, James/Patrick,

Yes, totally agree with you.

But HP should change hpvminfo to the same as machinfo that is the command for everyone can run to get the system info.