telnet and rlogin problems

Tim Daneliuk tundra at tundraware.com
Mon Mar 3 18:42:25 UTC 2008


Grammas, August wrote:
>  
> 
>  Rel: FreeBSD 6.2
> 
>  
> 
>  Summary: I am unable to get either 
> 
>                  telnet or rlogin to function
> 
>  
> 
>  Details: To several of my PCs, that had been running 4.11,
> 
>              I have installed release 6.2.
> 
>  
> 
>              To the rc.conf, which was used for 4.11, I added:
> 
>  
> 
>                  rcpbind_enable="YES"
> 
>                  rpc_lockd_enable="YES"
> 
>                  rpc_statd_enable="YES"
> 
>                  nfs_server_enable="YES"
> 
>                  nfs_client_enable="YES"
> 
>                  mountd_enable="YES"
> 
>                  ftpd_enable="YES

Don't believe any of these are relevant to your stated problem.

> 
>  
> 
>               To hosts.allow, I added:
> 
>  
> 
>                  rpcbind | ALL | allow

Again, I don't think this is relevant to your stated problem.

try adding:

                   telnetd: whatever : ALLOW

Note the use of ':' - I have no idea whether the wrappers will
allow you to use '|'.


As a general matter, service: ALL : ALLOW is very bad if your
machine is connected to the internet.  You really do want
your allow statements to be in the form:

service: exact list of machines or networks that should be allowed :ALLOW


Now then ... one last thing: DON'T USE TELENT AND RLOGIN - get out of
the habit of using them even on local networks.  They are painfully bad
security holes.  Learn to use ssh instead.

HTH,
-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra at tundraware.com
PGP Key:         http://www.tundraware.com/PGP/



More information about the freebsd-questions mailing list