System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Other root User Login To SMH

Mousa55
Super Advisor

Other root User Login To SMH

Hi,

 

How to give other root user full access to SMH through GUI " https://server:2381 " .

 

Thanks

9 REPLIES
Mousa55
Super Advisor

Re: Other root User Login To SMH

Hi,

 

is there any support.

 

thanks

Naj
Valued Contributor

Re: Other root User Login To SMH

Hi,

Please refer below link

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00293371/c00293371.pdf

Thanks

BR
Naj

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Mousa55
Super Advisor

Re: Other root User Login To SMH

Hi,

 

thanks for your support, but this is link is not give me a new. if is there any way to give other root user access to SMH from web.

 

and when i try run the firefox from HP-UX 11.31 by root user i facing this error message

 

(firefox-bin:12746): Gtk-WARNING **: cannot open display:

 

i tray export display=localhost:0.0

 

but still.

 

Thanks

Mousa55
Super Advisor

Re: Other root User Login To SMH

Hi,

i try also this

export DISPLAY=10.1.2.3:0.0

# firefox

now the firefox is hang and take along time and then i facing this error


(firefox-bin:24413): Gtk-WARNING **: cannot open display:

Thanks
Hakki Aydin Ucar
Honored Contributor

Re: Other root User Login To SMH

in general terms, if you want a user have root priviledges need to do in SAM -r to create the system administrator to provide limited non-superuser access to SAM functionality.

and besides, RBAC feature to create a user have role player  like a root;following link gives RBAC, as you can see RBAC and SMH integration is possible;

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=AccessControl

Mousa55
Super Advisor

Re: Other root User Login To SMH

Hi,

Thanks for your support and for this issue

export DISPLAY=10.1.2.3:0.0

# firefox

now the firefox it is take along time and then i facing this error

(firefox-bin:24413): Gtk-WARNING **: cannot open display:

Thanks
Hakki Aydin Ucar
Honored Contributor

Re: Other root User Login To SMH

>(firefox-bin:24413): Gtk-WARNING **: cannot open display:


Did you do a

# xhost +

in your local xterm ?

Mousa55
Super Advisor

Re: Other root User Login To SMH

Hi,

 

Did you do a # xhost + in your local xterm ?

export DISPLAY=10.2.3.4:0

#xhost +
xhost:  unable to open display ""


 # sam
System Administration Manager (SAM) is deprecated in this release of HP-UX.
System Management Homepage (SMH) is the new tool introduced to manage HP-UX.
You are recommended to use /usr/sbin/smh.

Looking for a usable running browser...
/usr/contrib/bin/X11/xlsclients:  unable to open display "10.2.171.40:0"
ERROR: Unable to open display "10.2.171.40:0"
       Please paste the URL "http://sdh013:2301/?chppath=Home" into a browser window.

#smh
Looking for a usable running browser...

its take a few minutes then

 

/usr/contrib/bin/X11/xlsclients:  unable to open display "10.2.171.40:0"
ERROR: Unable to open display "10.2.171.40:0"
       Please paste the URL "http://sdh013:2301/?chppath=Home" into a browser window.

 

Note: i using ssh on putty and i can login to smh by web, and when i unset the display also i can use the smh on the terminal. but i need to run the firefox but is the same issue.

 

# firefox

 

(firefox-bin:19445): Gtk-WARNING **: cannot open display:

 

Thanks

Dennis Handly
Acclaimed Contributor

Re: Other root User Login To SMH

>#xhost +
>xhost:  unable to open display ""

 

This has to be done on your Windows or Linux box.  Not where you are trying to run your application.