You can set the root password any time from the hscroot user.
If the root user does not exist you can create it fron hscroot.
But root login is disabled.
To get to root you must login as hscpe, which you can also create from hscroot. Then you need the timed (it lasts for one calander day) pesh password to get to the pe-shell, which is the only place you can su to root from.
If you need to get root access to your HMC you could try the following method, which has worked for me in the past:
Simply login using SSH as hscroot
then use a simple man to get the root access you require as follows:
$ man -P /bin/more chhwres // get 'more' as module instead of restricted 'less'
!/bin/bash // run root shell from man (HMC v4)
!ksh // run root shell from man (HMC v5)
$ export PATH=$PATH:/bin:/usr/bin
$ su -
Nice comment but i just tried it and it doesn't work! After issuing the su -, it asked me for a password which i think is root password! I don't have it! Is there a way to get around this?
As I said, you can set the root password any time from the hscroot user, but root login (and su root / su -) are disabled.
If the root user does not exist you can create it and set the password from the hscroot login.
Same goes for the hscpe user.
Once you have the root user and password, and the hscpe user and password setup then you need to login as hscpe, then run the pesh command and enter the IBM supplied, date specific, password to get to the pe shell, then you can su - or su root and enter the root password and you are root.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.