What system is it?
For a start - Is it a server? and do you have a real console connected to it?
In which case if you know the password but the root account is locked then you can unlock by logging in to the console as root.
The system is J5000 workstation. It has display adapter, so I'm working locally.
This system is in role of home computer and is not any kind of server and etc.
I think that system is switched to trusted mode.
Accidentally, I tryed to input root password few times with capslock on and the accound is disabled now.
A J5000? so you dont have a true console... And there is no easy way for recovering...
Either you find a terminal to plug to the J500 serial port then reboot but you have to interrupt the process to change the console fron video card to serial port...
You are in all cases to go through a reboot
So reboot in single user, mount /usr and use modprpw -k command
then reboot again...
I mentionned:
find a terminal to plug to the J500 serial port then reboot but you have to interrupt the process to change the console from video card to serial port... Use a cross cable to connect and check you communicate via the terminal...
see if you can get into singleuser mode (I think if my memory serves me? Perderabo help? ( Im in aix / TSM server bad trip at the moment...))
ISL > hpux -is
I believe you have a /etc/securetty file saying root can connaect only at the console but unfortunately you dont have one...
Sorry for the typing Im half way blind and trying nmy bewst...
So for the moment I would suggest you (you will not survive without...) you install sudo if bnot done already and configure your account to be able to execute all commands as root
then as root execute sam -r and give all privilege for all...
this will allow in case of problem to shoutdown the box... and reboot single user if needed...
the rest we will see later with help of others... if I can see what Im typinf
I'll look at /etc/securetty file and try sudo. Btw, when I'm making su, I can execute all commands.
The main problem to solve now, is returning the graphics mode. I have checked network settings, all shall be right, and I didn't change nothing there. As far as I recall, I don't have graphics logon since I runned tty command or something like that.