Operating System - HP-UX
1834437 Members
2368 Online
110067 Solutions
New Discussion

Re: where can I have a list of password change error messages?

 
Yvonne Chan
Advisor

where can I have a list of password change error messages?

I would like to know where can have list of password change and login error message. Currently I am using HP-UX v11.0 as my back end server while my front end is web server using java application whereby I am using the HP-UX OS authenication. I am having problem as I need to capture the login error message and password change error message so that I reflect back to front end web session.
4 REPLIES 4
T G Manikandan
Honored Contributor

Re: where can I have a list of password change error messages?

the login attempts are stored in the /var/adm/wtmp and /var/adm/btmp files.

you can use the last for the login information of the user and lastb command for the bad login attempt of the user.

check the man pages of last and lastb


Thanks
Yvonne Chan
Advisor

Re: where can I have a list of password change error messages?

HI TG, thanks for your reply. It is exactly what I am looking for. What I am looking for is the sample as shown below when I tried to change password.
New password:
"You may not re-use the same password."
New password:
"Password too short - must be at least 6 characters"
New password:
"Password must contain at least two alphabetic characters and
at least one numeric or special character."
Too many failures - try later.
Is there anywhere I can find those information in ""?
Steven E. Protter
Exalted Contributor

Re: where can I have a list of password change error messages?

For that you need a trusted system. There willl be be a nice audit file full of information that you can look at.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Tully
Honored Contributor

Re: where can I have a list of password change error messages?

You have a trusted system, and there is a file that exists called '/etc/default/security'. What this file does is not allow the same password to be entered so many times, depending on the value.

PASSWORD_HISTORY_DEPTH=2

This will not allow you to use the same password after the second reset.

password 1 = password1
password 2 = password2
password 3 = password1 ( this will not be allowed)
Anyone for a Mutiny ?