The last field of /etc/shadow is a number. The low order 4 bits of that field is the login fail count. Since the "other" bits are not now used, this represents login fails.
If the account is locked out use
to reset everything.
If you want to dink with /etc/shadow (not a good idea) change that trailing number in the record to a zero.
Example:
change the "5" to something else, remember it is a 4 bit number. You will have to change protections on /etc/shadow to do this, be SURE to set them back.
And - since you may mess things up remember the pwconv command can help.
This User Gave Thanks to jim mcnamara For This Post:
We recently moved our netapp disks onto new infrastructure by attaching the new controllers to our fibre switch and netapp migrating the disks. Disks kept the same address. We originally had 4 paths, but after attaching the new controllers we had 8. Now I want to remove the old paths. But can't. ... (5 Replies)
Hello,
I have recently updated my AIX machine from version 6.1.7.5 to 6.1.9.1 and i noticed that the errpt of the server is full of ssh messages like the one below:
sshdprocess_id>]: fatal: Read from socket failed: Connection reset by peer
Does anyone knows if this a known bug of the ssh... (15 Replies)
I just got moved to a new office building, and as I was unpacking my stuff I saw an odd tower PC in the nearby recycling heap. It turned out to be a Sun Ultra 10 Elite3D workstation, complete with keyboard, mouse, and monster-sized CRT with the wacky Sun video cable.
I just set everything up and... (4 Replies)
What's actually the difference between these two command:
1) chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s username
2) chuser unsuccessful_login_count=0 username
Are there any impact on executing either one of those command to clear/reset the failed login count in AIX?... (2 Replies)
Dear Unix Team,
This is sudhansu once again. I need some tips on below issue.
Sometimes we got calls from customer that their console got hangged means they are not able to access the server through console ip.
in that case "resetsc -y" will resolve the issue.
2. But couple of days... (2 Replies)
Dear All,
I Have server SF V440, OS solaris is down and I must check logs at Sc, but I forgot my login and password.
How to reset login and password at SF V440?
Thanks
Best Regards
Jiman (3 Replies)
I get this error when I log in through console:
"fatal: Read from socket failed: Connection reset by peer".
Can you tell me what this is and why it happens, and how to stop it? Thank you. (1 Reply)
Hi,
Would appreciate it if someone could shed me some light here as I'm yet to find any related information in this forum with regards to my problem.
Basically, I would like to display "Last Unsuccessful login" information when a user successfully logs-in to the system. I can't seem to find... (2 Replies)
hi, can someone tell me " how to reset failed login in solaris 8.0"
a user is not able to login and inspite of my changing password cannot.
I believe it must be because the user tried many attempts.
how do i reset the failed login for the user.
Thanks!
karthik (2 Replies)