General discussion

Locked

DNS & inet.d

By bubloo ·
Dear all

I am having Redhat linux 7.1. i want to login into redhat in my winnt machine through telnet session. whenever i try it's telling "connections failed" i found inet service is not there in my system. where i can get?

FTP also not happening for the same setup. i tried ftp from my linux to nt. it's asking user name and passwd. after giving correct one it's telling "login failed"

all because of that inet service. how to enable it? in redhat 7.1 that service is renamed or what.?
pls. give more details. also give where i can get installtion procedure for DNS and Sendmail

sakthi

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

DNS & inet.d

by rbgnr111 In reply to DNS & inet.d

look in /etc/xinetd.d
you need to edit telnet wu-ftp and whatever else you want to enable.
there will be a line that says:
disable = yes

that needs to be changed to this:
disable = no

when your done you either need to restart the xinetd deamon or restart the box.

Collapse -

DNS & inet.d

by bubloo In reply to DNS & inet.d

The question was auto-closed by TechRepublic

Collapse -

DNS & inet.d

by TG2 In reply to DNS & inet.d

Answer 1 is correct if Inet.d or Xinet.d is not configured. There would be one additional note, you should also set up hosts.allow & hosts.deny in /etc so that it allows ONLY those IP's that you need to let in for the specific service.

example:/etc/hosts.allow:
#
# hosts.allow This file describes
# the names of the hosts which are
# allowed to use the local INET services,
# as decided by the '/usr/sbin/tcpd' server.
#
#
all : 192.168.0.0/255.255.255.240 : allow
proftpd : 192.168.0.110/255.255.255.255 : allow

(the ip's would need to be changed to YOUR environment!)

In this example.. I've allowed access to ALL Xinet.d services for the ip addresses from
192.168.0.0 thru 192.168.0.15 (16 ip addresses)

I've also said that:
192.168.0.110 is allowed to access Proftpd (an alternative FTP Server I have installed)

The hosts.allow is primarily used to "allow" access where hosts.deny is primarily used to "DENY" access ... this is based on IP.. and the applicaitons must use TCP Wrappers or have support for it. Most standard installs of Redhat 7.x support TCP Wrappers for most of the standard server daemons.

Collapse -

DNS & inet.d

by bubloo In reply to DNS & inet.d

The question was auto-closed by TechRepublic

Collapse -

DNS & inet.d

by bubloo In reply to DNS & inet.d

This question was auto closed due to inactivity

Back to Linux Forum
5 total posts (Page 1 of 1)  

Operating Systems Forums