Re: Limit login attempts (how do I do it)

2003-09-25 Thread Micheal Patterson




- Original Message - 
From: Bob Collins [EMAIL PROTECTED]
To: FreeBSD [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 4:11 PM
Subject: Limit login attempts (how do I do it)


 A NB question here.

 I am trying to limit the number of allowed login attempts against my
 FreeBSD box. I cannot find anything for a limit to this other than;
 login-retries=x in the /etc/login.conf. This does not seem to work with
5.0
 Release, which is what I am running.

 A nudge to the FM or Man Pages would be helpful.

 Thanks
 Bob


To anyone else looking for this, here's how to change these settings.
They're defined in login.c:

#define TTYGRPNAME  tty   /* name of group to own ttys */
#define DEFAULT_BACKOFF 3
#define DEFAULT_RETRIES 10
#define DEFAULT_PROMPT  login: 
#define DEFAULT_PASSWD_PROMPT   Password:

Unless there's another way to do this, change those variables as desired and
recompile login.


--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Limit login attempts (how do I do it)

2003-09-24 Thread Bob Collins
A NB question here.

I am trying to limit the number of allowed login attempts against my 
FreeBSD box. I cannot find anything for a limit to this other than; 
login-retries=x in the /etc/login.conf. This does not seem to work with 5.0 
Release, which is what I am running.

A nudge to the FM or Man Pages would be helpful.

Thanks
Bob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Limit login attempts (how do I do it)

2003-09-24 Thread Micheal Patterson


- Original Message - 
From: Bob Collins [EMAIL PROTECTED]
To: FreeBSD [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 4:11 PM
Subject: Limit login attempts (how do I do it)


 A NB question here.

 I am trying to limit the number of allowed login attempts against my
 FreeBSD box. I cannot find anything for a limit to this other than;
 login-retries=x in the /etc/login.conf. This does not seem to work with
5.0
 Release, which is what I am running.

 A nudge to the FM or Man Pages would be helpful.

 Thanks
 Bob


There once was a way to do this but damn if I can remember it. You could
change the amount of attempts that could be tried, and instead of a delay
after the max out the attempts,  you could terminate the connection. Anyone
know what I'm referring to?

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]