Solaris Account Locking

Posted on 2006-05-25
Last Modified: 2013-12-21

I am trying to setup account locking in Solaris 9.
I have made the changes in /etc/default/login where
among other things I have
and in /etc/user_attr I am added:

Still I am not able to lock test_user after successive
unsuccessful logins.
Where could be the problem?

Any help is appreciated.
Question by:run_time_error
    LVL 34

    Expert Comment

    RETRIES=5 merely says how many login tries are permitted before the connection is severed. It also only applies to the UNIX login mechanism, not to, say, SSH-based logins.

    SYSLOG_FAILED_LOGINS=5 also only applies to the UNIX login mechanism, and merely specifies how many failed logins must happen during a connection before an entry is made in the system log (as specified in /etc/syslog.conf)

    Are you logging in thru SSH?
    LVL 48

    Accepted Solution

    See PAM_login_limit from
    LVL 48

    Expert Comment

    One thing to keep in mind is that Solaris 10 has much better account/password security options over previous Solaris releases.

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    How to improve IO of Solaris machine 15 58
    error while running the scirpt 24 101
    Remote Change Dates on AIX Automation 7 38
    Write an app 9 37
    My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    754 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

    21 Experts available now in Live!

    Get 1:1 Help Now