Set non expire password + HPUX
We are taking "kiraan"as an username.
We are taking "kiraan"as an username.
For trusted system:
Before:
ehorse:/> /usr/lbin/getprpw kiraan
uid=304198, bootpw=NO, audid=167, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Wed Aug 13 01:31:36 2014, upwchg=-1, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Tue Sep 30 09:40:55 2014, ulogint=Wed Feb 11 14:16:53 2015, sloginy=-1, culogin=3, uloginy=-1, umaxlntr=-1, alock=NO, lockout=1000000
Run below command:
#/usr/lbin/modprpw -m exptm=0,lftm=0,mintm=0,expwarn=0,llog=0 kiraan
After:
ehorse:/> /usr/lbin/getprpw kiraan
uid=304198, bootpw=NO, audid=167, audflg=1, mintm=0, maxpwln=-1, exptm=0, lftm=0, spwchg=Wed Aug 13 01:31:36 2014, upwchg=-1, acctexp=-1, llog=0, expwarn=0, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Tue Sep 30 09:40:55 2014, ulogint=Wed Feb 11 14:16:53 2015, sloginy=-1, culogin=3, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0000000
For non-trusted system:
#passwd -x -1 username
Thanks...
Kiraan B Jadhhav
No comments:
Post a Comment