cancel
Showing results for 
Search instead for 
Did you mean: 

User login Urgent

 
SOLVED
Go to solution
Abhilash Krishnan
Frequent Advisor

User login Urgent

When i am changing the password of a normal user from super user ID i am getting a message that :passwd lifetime has passed:
i have nullified the password in the /tcb file of user but still giving the same error

output of getprpw is
ofidb101@root:/etc/rc.config.d>/usr/lbin/getprpw applmgr
uid=503, bootpw=NO, audid=21, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Tue Jul 1 15:37:14 2008, upwchg=Sun Mar 15 11:28:31 2009, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Sun Mar 15 11:58:53 2009, ulogint=Sun Mar 15 11:42:12 2009, sloginy=tty, culogin=-1, uloginy=-1, umaxlntr=3, alock=NO, lockout=1000100

the third lock 1 is due to null password..

please suggest...
We have security plicy to expire the passwd after 90 days...
8 REPLIES
Asif Sharif
Honored Contributor
Solution

Re: User login Urgent

Avinash20
Honored Contributor

Re: User login Urgent

usermod -x password_lifetime=0
usermod -x grace_limit=1
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: User login Urgent

Hmm,..
"I have assigned points to 12 of 98 responses to my questions."

To get proper response, you need to assign points to your thread.
This is just a way of saying Thanks !!
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: User login Urgent

Oops.. I tried that on True64 server

On HP-UX:

lockout=1000100

If any position 1-7 is = to 1, the account will was locked for the following reason:
(man getprpw)
Position 1
past password lifetime
Position 2
past last login time (inactive account)
Position 3
past absolute account lifetime
Position 4
exceeded unsuccessful login attempts
Position 5
password required and a null password
Position 6
admin lock
Position 7
password is a *

This will help you isolate the reason/cause of the locked account
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Abhilash Krishnan
Frequent Advisor

Re: User login Urgent

I set the password age status to 0.but still giving problem.
Abhilash Krishnan
Frequent Advisor

Re: User login Urgent

this is a trusted system..
Please advice...its urgent...
Johnson Punniyalingam
Honored Contributor

Re: User login Urgent

Hi Biju,

You need enable the "account" first"

/usr/lbin/modprpw -k

try login has the user and try, If still not able to login .. "Password must has ve expired" you need to reset the password and try again

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
wci
Frequent Advisor

Re: User login Urgent

Hi

Yes use
#/usr/lbin/modprpw -k

to enable the user or

use

#/usr/lbin/modprpw -x

to enable the user ID and get a system generated password at the same time.

Regs

wci