1836590 Members
1588 Online
110102 Solutions
New Discussion

hpsmh on HP-UX

 
Nuon Admin
Occasional Advisor

hpsmh on HP-UX

AFter installing hp system management homepage on a HP-UX machine they want you to logon for the first time with the root account. My problem is our root account password is in a envelope in a fault. When we open this envelope to get the root password I have change the root's account password for a 150 machines. Not nice.
Is there an otherway to logon for the firsttime without this root account?
11 REPLIES 11
OFC_EDM
Respected Contributor

Re: hpsmh on HP-UX

I've never set this up but I found this. It may help.

http://docs.hp.com/en/5992-3386/5992-3386.pdf

I was looking at page 36 ... may help you ou
- Giving Users Limited Access to Text-Based HP SMH


The Devil is in the detail.
OFC_EDM
Respected Contributor

Re: hpsmh on HP-UX

Here's a little more text from that section.

Giving Users Limited Access to Text-Based HP SMH

As system administrator, you can give limited text-based HP SMH access to
nonsuperusers individually by user name and collectively by primary group name.

Maybe from there you can find a way to authorize a user to access the web based hpsmh??
The Devil is in the detail.
Torsten.
Acclaimed Contributor

Re: hpsmh on HP-UX

The problem is you need to be root in order to assign access to other users.

How do you perfomr root actions now? sudo only?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
OFC_EDM
Respected Contributor

Re: hpsmh on HP-UX

Torsten,

What's the process to give a "regular" user access to hpsmh assuming you have root access?

I'm looking at the hpsmh guide but it only seems to have procedure for creating accounts via hpsmh. And not a section on how to authorized users to access the hpsmh via Web.

Cheers
The Devil is in the detail.
Torsten.
Acclaimed Contributor

Re: hpsmh on HP-UX

Log on to smh (root) - > settings -> security -> user groups

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
OFC_EDM
Respected Contributor

Re: hpsmh on HP-UX

I'm not allowed to restart the service right now.

I'm guessing I have to in order for the user settings to take effect?

I added myself to the Operators group but can't login.

Looks like Nuon will have to manually add users to the group. I haven't found a command line way to do it.
The Devil is in the detail.
Nuon Admin
Occasional Advisor

Re: hpsmh on HP-UX

Unfortunaly on my test machine I am running HP-UX.B.11.11 and I don't have /usr/sbin/smh or /usr/sbin/ugweb and so on.
Olivier Masse
Honored Contributor

Re: hpsmh on HP-UX

I'm reviving this thread as I have the same problem. I've been asked to enable SMH in order to use the ServiceGuard Manager plug-in since it's the only way to have a GUI around SG 11.18.

Like Nuon, NOBODY here use the root password. We use privrun to become root. As a sysadmin, I like it that way. So I can't just document in my install guide to "login as root" to configure user privileges in SMH.

Is there any way to do configure SMH users without logging into SMH as root the first time. I have full root privileges on the system -- but in a shell only.

Thanks
Olivier Masse
Honored Contributor

Re: hpsmh on HP-UX

Never mind, I found it. Users are defined in file /opt/hpsmh/conf.common/smhpd.xml which, at least, is not binary. Add them there then restart SMH, and it seems to work.

Nuon Admin
Occasional Advisor

Re: hpsmh on HP-UX

Tried Oliver's tip and it works, thanks.
Nuon Admin
Occasional Advisor

Re: hpsmh on HP-UX

See solution from Oliver