I am facing strange problem where after three failed login attempt user password must be locked. Actually what is happening, when I take the putty session of the server & enter user name on the prompt at the login prompt & then press enter to enter the password at this time when I checked the /etc/shadow file against the user name I can see that 1 failed login attempt has been made even when I have not press the enter button after giving password.
So then again if I take the another same user session on another putty for the same server after enter the same user again and before giving password, second failed login attempt will be shown in the /etc/shadow file. After entering the wrong passwd in this session and press enter after giving the password , user account get lock as in /etc/shadow file it shows three failed login attempts
As per my knowledge if user enter the three consecutive wrong password attempts. then only user password must be locked. but this is not happening in my this particular server.
Thanks for the reply...Well this server is an Ldom Server. when we are trying to login from the base server to ldom we are not facing this issue through "telnet localhost 5000". And account get locked exactly after three wrong password.
And moreover, we are not facing this issue on anyother server where after three wrong login attempts user account gets locked. It means our Putty configuartion is correct.
I understand what you are saying. I do not have an immediate response that would indicate a Solaris issue.
My point however was that some terminal types (Putty setting) are expected to send CR/LF whilst others send only CR.
If there is "disagreement" between terminal and system and the terminal is sending CR/LF then the CR could be taken as the end of the userid and the LF as the end of the password; thereby entering an incorrect null password which after three times would lock out the account.
Let's wait and hear the views of others on this and whether anyone has seen this issue before.
If you try to ssh with specifed user from one Solaris box to another, are you experiencing the same problems ?
Can you also test with other clients or emulators besides putty (winscp, cygwin or alike) ?
Yes still the same problem exist when I tried to login from another solaris host to this server. This same problem is coming from multiple windows desktop as well.
I tried through winscp also & still same problem is coming.
After giving the right password of the user, last column of the /etc/shadow file become null again.
Please also find the sshd_config file output as well
:(Dear Solaris Experts,
The file /var/adm/utmpx is steadily growing on our standbye Sun Sparc T5220 Solaris 10 server. I have tried everything such as the following steps without success:
root@rainbow # uname -a
SunOS rainbow 5.10 Generic_141444-09 sun4v sparc... (2 Replies)
Hi all
In my system we have implemented user lockout feature after 3 failure attempt if he tries to login directly or if he run the any command through sudo and enter wrong password thrice. Now I have requirement in which particular user account shouldn't be locked when he run the command... (1 Reply)
Hi,
When I am trying to do ssh to a server it shows below error.
Key setup is all good and it used to work well few days back. Now suddenly I am getting this error.
ssh -i <private_key> <id>@<hostname>
Received disconnect from <hostname> Account is locked or login administratively... (1 Reply)
Hi
How do i list all locked account in my linux distributiion
I have tried
passwd -S -a
but it seems to not working .
My distribution details.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver... (3 Replies)
Hi,
I have enable Account lock for failed login attempts.
I have configured
1) /etc/security/policy.conf
2)/etc/default/login
To lock an account if it make multiple incorrect attempts to login to Solaris 10 server.
I can see the account gets locked in /etc/shadow.
I would like to... (1 Reply)
we have a user name "Test1" that account is alwyas locked out. The user has been used to many servers to ftp a file from the main server. i already increase the MaxStartups to 99. And still after how many days account will locked. (3 Replies)
Hi all,
I've been using linux/unix now only for a couple of months and was doing ok until about 30 minutes ago...
I needed to reboot into my windows 2000 partition, so, in a terminal I typed:
shutdown -r now
which duly rebooted the PC for me. On getting to the OS selection screen I... (5 Replies)
I'am set the root account locked ON, using smitty, so I can't login or su with root user in my AIX system, some one can help me to unlock root account login ???,
sample :
:~>su
root's Password:
3004-301 Your account has been locked; please see the system administrator.
3004-501 Cannot su to... (1 Reply)
Hi Every one
I disable the root account entering wrong password for many time
How can I enable the root account
I am using Tru64 Unix V4.0G
Thank you (2 Replies)