Unix Technical Forum

HMC and root connection

This is a discussion on HMC and root connection within the AIX Operating System forums, part of the Unix Operating Systems category; --> I have a HMC with a p690 running. I would like to do a remote connection on the HMC ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 06:38 AM
toto
 
Posts: n/a
Default HMC and root connection

I have a HMC with a p690 running.
I would like to do a remote connection on the HMC with the "root" to restart
RMC daemons after failure.

Can I connect to the HMC with ssh and "hscroot" user and do and "su" command
?
Or other ?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 06:39 AM
GertK
 
Posts: n/a
Default Re: HMC and root connection

toto wrote:
> I have a HMC with a p690 running.
> I would like to do a remote connection on the HMC with the "root" to restart
> RMC daemons after failure.
>
> Can I connect to the HMC with ssh and "hscroot" user and do and "su" command
> ?
> Or other ?
>
>

You can enable/disable remote ssh access from the GUI.
After enabling you can ssh with hscroot and use a restricted set of
commands. Remote login as root is not possible. Su from hscroot to root
is also not possible (3.2.6) remotely. On site you can become root at
the HMC by toggling ctrl-alt-F1/F2 between the Gui and the commandline,
and su from hscroot to root works then.
You could reboot the HMC to restart the daemons, remotely, with the
hscroot user and the command "hmcshutdown -r -t <graceperiod>"

Regards,
Gert
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 06:46 AM
Scott Doyland
 
Posts: n/a
Default Re: HMC and root connection

GertK <nomail@mail.invalid> wrote in message news:<csqdhn$d5$1@news.cistron.nl>...
> toto wrote:
> > I have a HMC with a p690 running.
> > I would like to do a remote connection on the HMC with the "root" to restart
> > RMC daemons after failure.
> >
> > Can I connect to the HMC with ssh and "hscroot" user and do and "su" command
> > ?
> > Or other ?
> >
> >

> You can enable/disable remote ssh access from the GUI.
> After enabling you can ssh with hscroot and use a restricted set of
> commands. Remote login as root is not possible. Su from hscroot to root
> is also not possible (3.2.6) remotely. On site you can become root at
> the HMC by toggling ctrl-alt-F1/F2 between the Gui and the commandline,
> and su from hscroot to root works then.
> You could reboot the HMC to restart the daemons, remotely, with the
> hscroot user and the command "hmcshutdown -r -t <graceperiod>"
>
> Regards,
> Gert



That depends on your HMC level. Defineately from 4.2.1 onwards its
not possible to gain access to root. To do so you have to logonh as
hmcpe (think that the right ID), then run the 'pesh' command which
asks for a password. This password you have to get from IBM. Once
you enter this password you can then su to root. The password IBM
supply is only valid for one day.

basically you have to also be an IBM engineer before IBM wil give you
the password.

Scott
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com