Re: How to get around the new security implementation running HMC R3v2.6

From: hdkutz@HDKUTZ.DE
Date: Thu Feb 12 2004 - 04:50:31 EST


On Mon, Feb 09, 2004 at 05:06:18AM -0800, Stefan Strandfelt wrote:
...
> chmod 555 $HOME/.bashrc 2>/dev/null
> cp /opt/hsc/data/ssh/hmcprofile $HOME/.bash_profile 2>/dev/null
> chmod 555 $HOME/.bash_profile 2>/dev/null
> [root@hmc1 root]#
> [root@hmc1 root]# mv /home/hscpe/.ssh/rc /home/hscpe/.ssh/rc.`date +%Y%m%d` # move the file
> [root@hmc1 root]#
>
> Logout from the HMC
>
>
> Now to verify that we got a working environment where we can export
> the HMC GUI to another machine without running pesh and requesting
> PE passwords all the time.
>
> aix1:/ export DISPLAY=10.10.10.10:0.0 # export the display to the machine where you want to have
> the HMC GUI exported to!
> aix1:/ xclock # To verify that the export of the display works.
> aix1:/
> aix1:/ ssh hscpe@hmc1 # Logon to the HMC with ssh as the user hscpe
> hscpe@aixhmc1's password:
> [hscpe@hmc1 hscpe]$ wsm & # NOw you should get the HMC GUI after a little while.
>
Why doing that?
If you ssh with -X to your HMC the DISPLAY will be automatically set by SSH!
Forwarding will be fully functionable!
You could also add this support automatically in your ssh(d)-config files!
>
>
> Now you should have a working environment where you can export the HMC GUI to another machine
> without the need for PE passwords!
>
>
> This short How To has been made by:
> Stefan Strandfelt
> stefan_strandfelt@yahoo.com
>
>
> If you update this HowTo, you must send the updated HowTo to the author.
> 2003-11-26 v1.0 First version for R3v2.5
> 2003-11-27 v1.1 Corrected some typos.
> 2004-02-09 v1.2 Updated for R3V2.6
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
>

--
cheers
ku
hans-dieter kutz                                      "AIX to Oracle-Admins:
Chorbuschstrasse 44      D-50765 Koeln                "We all know, ORACLE  -o)
phone +49 177 4184970    fax   +49 177 4184970        "chews memory like a   /\
hdkutz@hdkutz.de         Germany http://www.hdkutz.de "cow does her cud :-) _\_v


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:35 EDT