The port number for telnet is 23, that's probably what you mean by the login command.
Authentication by IP address is perfectly possible but may not be all that useful. IP addresses change quite frequently (with DHCP) and you may find that it's not appropriate.
The script /etc/profile is run each time someone logs in, that would be the best place to put validation functions.
Careful though. Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.