Auto Locking user accounts

Hi,

I am trying to setup account locking in Solaris 9.
I have made the changes in /etc/default/login where
RETRIES=5 and
SYSLOG_FAILED_LOGINS=5
and in /etc/user_attr I am having:
test_user::::lock_after_retries=yes

Still I am not able to lock test_user after successive
unsuccessful logins.

Any help is appreciated.
rte

The /etc/default/login environment variables.

RETRIES=5. This variable controls how many attempts before the tty line is disconnected. Keep in mind that this does not disable the account. The user can always reconnect and make another 5 attempts.

SYSLOG_FAILED_LOGINS=5. This sets the number of failed attempts before logging via the auth.notice facility in syslog is done.

And since you are using Solaris 9: