Maximum 3 login attempts

Hi,

I notice in my Sun Solaris 8 sparc workstation, if I failed my login in the 5th time, I will be closed the connection from the host.

I want to make 3 times. That is, if user fails to login with 3 attempts, he will be closed the connection.

How to do it? Of course I am the admin of the Sun machine.

Thanks

The file is /etc/default/login.

The line is RETRIES=5 (or whatever number is set on your server).
See the man page for login.

Thanks, you are right.:smiley: