[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: TELNETD important



Hi John,

 Are you trying to run inetd as root or as a regular user?? It has to be run
as root.

Easy way to get it to work, go to /etc/rc.conf and modify the line that says
inetd=NO

to
inetd=YES

Then make sure you have only the services you want running uncommented in
the inetd.conf file...



-----Original Message-----
From: John Smith [mailto:pagemaster41_(_at_)_hotmail_(_dot_)_com]
Sent: November 14, 2000 3:15 PM
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: Re: TELNETD important


There is no var/run/inetd.pid file and I don't see a pid for inetd.conf



>
>On Tue, 14 Nov 2000 14:00:33 CST, "John Smith" wrote:
> > Does anyone know how I could fix this.  It doesn't start up when I 
>uncomment
> > it from inetd.conf.  If you do know whats wrong give detailed 
>instructions
> > since I am  not very experienced.
>
>Someone posted the answer to this the first time... you need to send
>inetd a HUP signal. This command:
>
>	kill -HUP `cat /var/run/inetd.pid`
>
>works, although there are other ways you could do it. Use your imagination 
>:-)
>
>The reason telnetd won't start when you run it from the command line is 
>that
>it's not a separate daemon like sendmail that runs on its own; it's inetd's
>job to start up an instance of it when someone connects.
>
>Some network services are written to run standalone, some are written to
>run out of inetd. Some (like apache and sshd) can be run either way, based
>on how you set them up. telnetd is only runnable from inetd.
>
>It has nothing to do with DHCP; telnetd'll work regardless of whether you 
>use
>DHCP or rarpd or little-green-men-from-mars-d. Just try "telnet localhost"
>or "telnet 127.0.0.1" while you're logged into the machine in question;
>if it works, telnetd is working. DHCP is a separate issue.
>
>	~Ben

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.