Operating System - HP-UX
1761069 Members
2920 Online
108897 Solutions
New Discussion юеВ

Re: root unable to login from console

 
Victor BERRIDGE
Honored Contributor

Re: root unable to login from console

With all that comment I forgot to ask you what I wanted:
Do you have a true (serial port) console attached?
(I may ask a silly question here because I have no superdome...)

All the best
Victor
Darrel Louis
Honored Contributor

Re: root unable to login from console

Robychen,

If you login under your account and try sudo, if it's implemented and try the following.
/usr/lbin/getprpw -r -m lockout root

To reactivate:
/usr/lbin/modprpw -k root
verify exit status(=0)

When creating a trusted system make sure you're root account will never expire.
/usr/lbin/modprpw -m lftm=0,exptm=0,mintm=0,acctexp=-1 root

lftm=0 then password aging disabled.
Acctexp=-1 expiration disabled, set to infinity.

Can you logon to one of the other partitions as root via the GSP-Console?

Victor: a Superdome doesn't have a console attached to it but a A-class server with GSP on it.
Each partition on an HP Superdome server has its own console.
This partition console provides console login access to HP-UX and serves as /dev/console for the partition.
See: http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90702/B2355-90702_top.html&con=/hpux/onlinedocs/B2355-90702/00/00/14-con.html&toc=/hpux/onlinedocs/B2355-90702/00/00/14-toc.html&searchterms=gsp%7csuperdome&queryid=20041201-150351
Paul Ostrowski
Occasional Contributor

Re: root unable to login from console

It doesen't sound like you will be able to login/sudo or su from any other account. so the only way will be to reboot into single user mode and unlock the root accout.

make sure that you mount all your filesystems in single user mode.

mount -a

then run /usr/lbin/modprpw -k root

for more info look at the modprpw man page