Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Right now, if someone logs into my server and types their password in wrong, they will be booted from the server and have to reconnect. How can I increase the attempts to another number?
You seem to have a wonderful problem! I have seen a lot of questions on how to enable account lockout, but no solutions which I can recall.
Could you explain how you set that up please?
Originally posted by chrisk5527 Right now, if someone logs into my server and types their password in wrong, they will be booted from the server and have to reconnect. How can I increase the attempts to another number?
What method are they using to log in, into
which service are they logging in?
Theres nothing in /etc/logins.def regarding this matter. I've looked in that file for a solution but theres nothing in there unless I have to add a line to it. I'm not sure why its only letting me attempt one login and then booting me out, I never modified a file for this effect.
It doesnt matter which service I try using. SSH, Telnet or even on the console. After one failed login attempt, it'll kick off and make you reconnect if your using SSH or Telnet. If your on the console trying to login, it'll clear the screen and come back with another login screen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.