Hi Ashish,
First thing.... you have installed RH 7.x ... and RH has this shitty service known as ipchains or iptables which gets enabled by default unless you opt for not starting by ntsysv --level=5 --level=3 ...and disable this service.. Second.... its by default that root user is never allowd to login thru telnet or FTP ... you can directly log on to root only if you have ssh service started (well if u havent changed the conf files as to not allow root to login ) so try to login as some other system user and then su to root ... Best Regards, -Mitul Limbani (mitull @ wrox.com) Support Editor http://www.wrox.com/ http://p2p.wrox.com/ Desai Ashish writes: > Hi� Luggers, > As I installed/configured Telnet / FTP server in RH > Linux 7.2 > If I checks it by following command of processes then > it is showing me that the �xinetd� service is running. > And if I checks it by �nmapfe� utility the scanning is > showing me that Telnet and FTP ports are open in Red > color. > I m going to logon as a user ROOT to LOCALHOST with > its password for Telnet session it gives me following > error : > telnet localhost or telnet 127.0.0.1 > Login : root > Password : > Login incorrect > Connection closed by foreign host. > And in FTP session when logon as a user ROOT with its > password it gives me following error : > ftp localhost or ftp 127.0.0.1 > Login : root > Password : > 530 Login incorrect > Login failed. > > It is also not allowing me to Telnet Linux machine > (192.168.0.1) from Windows machine (192.168.0.2) It > gives me following error : > For Telnet : > Could not open a connection to 192.168.0.1 > For FTP : > ftp > >ftp:connect:10071 > ftp> > But if I give ls command then it shows me �not > connected� msg. > > As my Configuration files are concern they are here > for u people to review > /etc/xinetd.conf > defaults > { > instances = 60 > log_type = SYSLOG authpriv > log_on_failure = HOST > } > includedir /etc/xinetd.d > /etc/xinetd.d/telnet > service telnet > { > disable = no > flags = REUSE > socket_type = stream > wait = no > user = root > server = /usr/sbin/in.xinetd > log_on_failure += USERID > no_access = 10.0..0.1/24 > log_on_success += PID HOST EXIT > access_times = 09:45-16:30 > } > /etc/xinetd.d/wu-ftp > service ftp > { > socket_type = stream > wait = no > user = root > server = /usr/sbin/in.ftpd > server_args = -l -a > log_on_success += DURATION USERID > log_on_failure += USERID > nice = 10 > disable = yes > } > /etc/hosts.allow > ALL:ALL@ALL > /etc/hosts.deny > (This file is Empty) > But as I Telnet / FTP my Localhost by any other User > then it is allowing me to connect and also gets > connected. > So, after reviewing this plz. Suggest me where should > I make change to resolve this problem. > Regards, > [Ashish Desai] > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > _______________________________________________ > http://mm.ilug-bom.org.in/mailman/listinfo/linuxers > _______________________________________________ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

