You shouldn't copy telnet into the /etc/rc.d/init.d/ directory. Telnet and ftp are controlled by the xinetd service. Remove telnet from /etc/rc.d/init.d. The file /etc/xinetd.d/telnet should look like service telnet { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID } The disable = no will explicitly tell the xinetd service to allow telnet sessions. Restart xinetd with the command /sbin/service xinetd restart to enable the change. Try to telnet to your system and see what happens. You will not see the telnet process when you do a "ps" unless you have an active telnet session open. This is how xinetd works. It only starts the individual daemons such as telnet and ftp when they are needed. I hope this sheds some light on the subject. Sincerely, Tammy Fox Rebecca.R.Krause@xxxxxxxxxxx wrote: > > I checked my hosts.allow and hosts.deny files. They are both empty. > > I attempted to start telnet as a daemon during startup. Here are the steps > I followed as root: > > cd etc/xinetd.d > cp telnet /etc/rc.d/init.d > cd etc/rc.d/init.d > chmod 777 telnet > cd etc/rc.d/rc3.d > ln -s ../init.d/telnet S70telnet > > when I watch the screen during reboot and telnet tries to start, I get the > following message: > Starting telnet: > VFS: file-max limit 4096 reached > exec: too many open files in system > Unable to load interpreter /lib/ld-linux.so.2 > > I am able to telnet from my machine but if I try to telnet to it I get a > "connection refused" message. > > My file called telnet looks like this: > # default: on > # description: The telnet server serves telnet sessions; it uses \ > # unencrypted username/password pairs for authentication. > service telnet > { > flags = REUSE > socket_type = stream > wait = no > user = root > server = /usr/sbin/in.telnetd > log_on_failure += USERID > } > > When I look at the rest of the executable files in /etc/rc.d/init.d, I see > that most of them have start(), stop() and restart(). I am assuming I > need something like that in my telnet file. Is there documentation around > to help me create this file? Do I have the correct steps to start a daemon > at startup...so once I get a good telnet file it should work for me? > > Thanks! > Rebecca > > Scott Shealy <sshealy@xxxxxxxxxxxxxxxxx>@redhat.com on 03/07/2001 08:48:49 > AM > > Please respond to kickstart-list@xxxxxxxxxx > > Sent by: kickstart-list-admin@xxxxxxxxxx > > To: "'kickstart-list@xxxxxxxxxx'" <kickstart-list@xxxxxxxxxx> > cc: > > Subject: RE: Starting Telnet and Wu-ftpd using kickstart > > Rebecca, > > The reason that they are not running is that they are not launched > as daemons at startup.... For each session that is requested by a client, > an > ftp or telnet process is started by the inetd daemon(you should see this > process running)... So you will not see the processes running unless > someone is actually using FTP or telnet.... Also it may be that > tcp-wrappers is preventing you from telneting or ftping into the box..... > Check you hosts.allow and hosts.deny file... and make sure that you can > resolve the name of the client.. > > Scott > > -----Original Message----- > From: Rebecca.R.Krause@xxxxxxxxxxx [mailto:Rebecca.R.Krause@xxxxxxxxxxx] > Sent: Wednesday, March 07, 2001 9:35 AM > To: kickstart-list@xxxxxxxxxx > Subject: Starting Telnet and Wu-ftpd using kickstart > > Hello All, > > In the %packages section of my ks.cfg file I install telnet-server and > wu-ftpd. After installation, I start up my machine and both programs are > installed but neither are running. Why aren't they running? Is there a > way to automatically start them every time my computer is powered up during > the %post section? > > I have a second machine which I installed using the RedHat CDs. I have > both telnet and wu-ftpd on this machine, both are running and I never had > to do anything to get them running. What am I missing with my kickstart? > > Thanks! > > Regards, > Becky > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list