Posts Tagged ‘ssh’
Disable Root Login & HMC
Disable Root Login:
Method to disable root login:
Add rlogin = false in /etc/security/user and root name in /etc/nologin and ‘PermitRootLogin No’ in /etc/ssh/sshd_config
Edit HMC Password:
For P4 and P5 machines,
Command used is:
# hscroot@hmc > chhmcusr –u hscroot –t passwd
Enter new password:
Retype new password:
To reboot HMC from command line:
Login to HMC using SSH, login as hscroot user and run the following command:
# hscroot@hmc > hmcshutdown –t now -r
To Check HMC Version:
# lshmc -V
To know address of HMC which manage LPAR:
# lsrsrc IBM.ManagementServer
Hope this post was informative.
Happy Learning!