Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Solaris Account Locking

Posted on 2006-05-25
Medium Priority
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
  • 2
LVL 34

Expert Comment

ID: 16769579
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

Tintin earned 375 total points
ID: 16778778
See PAM_login_limit from http://www.comsmiths.com.au/pam/v1.05/
LVL 48

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses

571 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