Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to enable telnet in 10.2' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to enable telnet in 10.2
Authored by: breen on Aug 19, '03 11:56:24AM

Re: restarting inetd

It's considered pretty crude (brute force, sledgehammerish) to restart a process by sending it a SIGKILL and then restarting it.

To make a process reread its configuration files you ordinarily send it a SIGHUP (numeric 1 if you're following at home).

To restart inetd I usually do this:

kill -HUP `cat /var/run/inetd.pid`

which accomplishes the job in one step.

Check 'man kill' for a list of signals in numeric and symbolic form.

Breen



[ Reply to This | # ]
How to enable telnet in 10.2
Authored by: MaxMouseroom on Aug 19, '03 03:32:27PM
This is even easier:

sudo killall -1 inetd


[ Reply to This | # ]
How to enable telnet in 10.2
Authored by: Hes Nikke on Aug 20, '03 10:24:39AM
i can never remember the numbers so i would do a sudo killall -HUP inetd

---
vacuums do not suck. they merely provide an absence that allows other objects to take the place of what becomes absent.

[ Reply to This | # ]