1832345 Members
2187 Online
110041 Solutions
New Discussion

Re: Account disabled

 
Starrynight
Advisor

Account disabled

Hi all

Question: I have a user that as the password expiration time set to 186 days (6 months), the account life time set to infinite and the maximum period of inactivity on account set to 90 days. If that user logins everyday how can his account is disabled once in a while, before 6 months?
System administrator
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: Account disabled

If they, or someone else, attempts to login using their user name, and they fail to enter in a correct password, x (usually 3) number of times, then the account will be disabled.
Live Free or Die
Stefan Farrelly
Honored Contributor

Re: Account disabled


Only by having X bad password attempts will the account become disabled. You will need to use the modprpw command umaxlntr= option to set the number of bad password attempts to > the default of 3.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Sridhar Bhaskarla
Honored Contributor

Re: Account disabled

If the system is not trusted, there is no way of disabling the account unless somebody does it manually. If it is trusted, depending on the policy settings, it will get disabled after the certain number of accounts. If he has been logging on regularly and still if the account is disabled, you need to see who was trying to login with his id. Do a lastb -R|grep login_id to see who tried to login.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Patrick Wallek
Honored Contributor

Re: Account disabled

If you wish to see the attempts to login as a user that failed (bad logins) you can use the lastb command.

Do a:

# lastb username

and that will display all the bad login attemps that are in the /var/adm/btmp file so you can see if bad password really are disabling the account.
Starrynight
Advisor

Re: Account disabled

Dear Mr. Sridhar Bhaskarla

The system is trusted and I don?t know which policy settings who refer. Each user as is own ploicy settings and this one is an tranference user, used 10 times a day for the same person.

Thank you for your reply but unfortunatelly it didn?t solved my problem.

SN
System administrator
Animesh Chakraborty
Honored Contributor

Re: Account disabled

Hi,
I am making a guess..
Any changes in date and time ?



thanks
Animesh
Did you take a backup?
Starrynight
Advisor

Re: Account disabled

No changes in date and time....

SN
System administrator
harry d brown jr
Honored Contributor

Re: Account disabled

Could someone else or the user themself, be entering in their password wrong (more than 3 times in a day)?? Although they might claim they haven't.

Take a look at this thread and commands for a trusted system:

http://aa11.cjb.net/hpux_admin/2000/03/0056.html

Live Free or Die