Operating System - HP-UX
1832593 Members
2598 Online
110043 Solutions
New Discussion

Re: user accounts disabled-cannot login

 
SOLVED
Go to solution
rajeesh k menon
Frequent Advisor

user accounts disabled-cannot login

hi all

my hp-ux 11.23 server on rx8620 is locked and even root cant login. i have tried to change the password in the single usermode , but at run level 3 i still cant login. pls tell me how to activate the accounts.

rgds
rajeesh
9 REPLIES 9
DCE
Honored Contributor

Re: user accounts disabled-cannot login


You should be able to log in at the console as root

run the command /usr/lbin/modprpw -k root
to reset roots invalid login account. (this assumes you are in trusted mode)

If you cannot log in at the console - then you will have to boot into single user mode to change roots password.

the /usr/lbin/modprpw -k userid command will reset a userid account that has been locked
Jaime Bolanos Rojas.
Honored Contributor

Re: user accounts disabled-cannot login

Rajeesh!

What happens if you go to single user mode, and change the password for the system?
Are you able to do that or does it give you any errors?

Are you using a trusted system or untrusted?

If you are able to change the passwd it should let you login in init 3.

Please post some more info so we are able to help you out.

Regards,

jaime.
Work hard when the need comes out.
Fabian Briseño
Esteemed Contributor

Re: user accounts disabled-cannot login

Another last resoruce option woul be to recover an ignite backup of the server(previous to the account lockout date), that is assuming you have one.

That should do it, you would have to know the password of the root account on the date the ignite backup was made
Knowledge is power.
rajeesh k menon
Frequent Advisor

Re: user accounts disabled-cannot login

hi DCE

its giving system is not trusted while issuing modprpw -k root.

if I try to change root passwd in single user mod its giving an error - audswitch:not an owner.

and I cant login to the system from the console also.

thanks

rajeesh
DCE
Honored Contributor

Re: user accounts disabled-cannot login



Do you have a install/recovery disk?

If so, boot off it. That should give you the ability to correct the ownership/password problem
rajeesh k menon
Frequent Advisor

Re: user accounts disabled-cannot login

hi

i have os cd .

but how to do it

thanks

rajeesh
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: user accounts disabled-cannot login

Rajeesh do this:

Get into single user mode, mount everything inside there, you might have to do an fsck before.
Change the permissions for /bin/login they should be -rwsr-xr-x
Also the file should be own by root.bin

Now change the password, it should let you do it.

Regards,

jaime.
Work hard when the need comes out.
rajeesh k menon
Frequent Advisor

Re: user accounts disabled-cannot login

hi jaime,

after changing the permission of the file it still giving problems for changing password. but after a reboot it took my original password !!!!

thanks for that..

thankyou all

rajeesh
rajeesh k menon
Frequent Advisor

Re: user accounts disabled-cannot login

thanks all

rajeesh