This website is not maintained anymore. If you want to keep track of me or my projects (or hire me) check www.conveniencefactory.com or follow me @conveniencedev

Ruwebit
HARDWARE REVIEWS, DIY PROJECTS, IN-DEPTH ARTICLES
Start DIY projectsReviewsHow-to'sNewsAutomotiveAbout the websiteArchive | Most popularLast updatedTags Sitemap
how-to'slinux
Linux: remove annoying delay when typing a wrong password
Download article as PDF
By Maurice on February 23, 2010 popularity:
In some Linux distributions (like Ubuntu) there is a 2-second delay when typing a wrong password. It's a meaningless security measure against brute force attacks, because it justs causes any hackers to go multi-threaded. It annoys me, and if it annoys me I try to solve it.
Symptoms

Do a:
sudo ls

Type a wrong password
Enjoy the wait

Solution

Add the nodelay option to /etc/pam.d/common-auth. Edit it like this (add the underlined stuff):
auth requisite pam_unix.so nullok_secure nodelay
auth optional pam_smbpass.so migrate missingok


That's it.
Copyright © 1999-2010 by Maurice de Bijl. This article was published on 2010-02-23 in how-to's  linux

Was this article useful to you? Please help me by using the toolbar below to tweet the article, give it an eKudo or add it to Hyves, Facebook, Delicous, Digg or another site. Thanks!

Download article as PDF

POPULAR TAGS
Show all tags
SEARCH KEYWORD
FOLLOW ME
Twitter