Operating System - HP-UX
1832650 Members
2877 Online
110043 Solutions
New Discussion

Audited system -- Not able to login

 
SOLVED
Go to solution
Wamaitha
Frequent Advisor

Audited system -- Not able to login

Hello, i just converted out HP-UX box to an audited system (11i). After the conversion i was able to login, tried logging in this morning i am getting the following error and exits out of seesion.. ANy ideas what could have happenened over the week-end?

login:
login: loginname
Password:
Last successful login for loginname: Thu Apr 27 08:00:09 EST5EDT 2006 on pts/tb
Last unsuccessful login for loginname: NEVER

Wait for login exit:


Thanks in advance
7 REPLIES 7
DCE
Honored Contributor

Re: Audited system -- Not able to login


The account has probably been deactivated.

If you can log on as root, run the following command

/usr/lbin/modprpw -k loginname

to reactivate the account
Wamaitha
Frequent Advisor

Re: Audited system -- Not able to login

i cannot even login as root.

thanks in advance
HGN
Honored Contributor

Re: Audited system -- Not able to login

Hi

The account root seems to have been locked, other way would be logon on someone else and then su to root on the console and then use to unlock root using modprpr

Rgds

HGN
Wamaitha
Frequent Advisor

Re: Audited system -- Not able to login

Currently, all the users (5) that have access to the system, they are all getting the same error.

thanks in advance
DCE
Honored Contributor
Solution

Re: Audited system -- Not able to login


Unfortunately, you will have to reboot the server and come up in single user mode.

from the console do a control-B to get to the GSP, do a RS to cycle the system.

Interrupt the boot process when prompted, and enter bo pri

enter y to interact with the ISL
enter hpux -is
to bring up the system in single user mode.

You should now be able to change root's password.

you can either run the modprpw against the other login ids (do a mount -a first), or you can cycle the system and then run the modprpw against the remaining id's
Jeff Schussele
Honored Contributor

Re: Audited system -- Not able to login

Hi,

Run
getprpw - m lockout loginname
If anything other than 0000000 comes up - it's locked out. You'll need to run modprpw on it to unlock it.
The other thing to consider is PW length - if it was over 8 chars then enter *just* the first 8 chars & then change it so that it's *only* 8 chars.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Wamaitha
Frequent Advisor

Re: Audited system -- Not able to login

thank you all for your suggestion. the passwords had not expired. I left the default location for the auditlog file as root, that filled up and no one could login.
i did change the location to a filesystem var that would not crash the system. Had to login in single user mode, clear the audfile and that enabled all users to login.
As always thank you.