Operating System - HP-UX
1832363 Members
2516 Online
110041 Solutions
New Discussion

Bad Audit Flag Encountered When a User Logs In

 
Wina A. Buenavista
Occasional Advisor

Bad Audit Flag Encountered When a User Logs In

Can you provide me a solution on how to resolve problem upon logging into the system? Users encounter the message "Bad audit flag" as soon as the login and then the session automatically exits. I have tried to correct this by manually editing the shadow file and add
:u_auditid#862: :u_auditflag#1:but my problem is there are 100 user ids affected. Manually editing it one by one is impossible.
Below are the details of this server.
OS: HP-UX 10.2
C2 Enabled

Hope you can help me find a solution like a patch or something. Thanks.
wina
1 REPLY 1
David Lodge
Trusted Contributor

Re: Bad Audit Flag Encountered When a User Logs In

You can manipulate the tcb files using the command:
/usr/lbin/modprpw -m field=value user

For full details check out the 11i manual page (on docs.hp.com) [this is one of HP's backend commands, which they don't like to broadcast - pity because it is really useful!]

Though I'd investigate as to how the tcb got corrupted in the first place...

dave