Linux password lockout

Posted on 2006-04-07
Last Modified: 2008-02-07
I have a Fedora core 4 box and I want to lock a user account if someone tries an brute force on the password.  I want to also be able to unlock the account after a set period of time.  Is this possible with Fedora 4?
Question by:Ironman88
    LVL 51

    Accepted Solution

    LVL 16

    Expert Comment


    Check the link ahoffmann provided and to install it in Fedora as root type:

    yum install pam_abl
    LVL 2

    Expert Comment

    by:Mohan Shivaiah
    Hi ,
    Use the command passwd -l user_name  --for locking the account
    and passwd -u user_name  --for unlocking the account.
    LVL 17

    Expert Comment

    I can suggest you to put cron job.

    BR Dushan

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    ​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
    BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (, affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now