[Top][All Lists]

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

Re: Unset $HOME before restarting inetd!

From: Mike Castle
Subject: Re: Unset $HOME before restarting inetd!
Date: Fri, 21 Dec 2001 15:43:33 -0800
User-agent: Mutt/1.3.24i

On Fri, Dec 21, 2001 at 02:57:23PM -0800, agreatham wrote:
>   address@hidden:~> unset HOME
>   address@hidden:/root> /etc/rc.d/inetd start

Better, put the unset HOME inside the /etc/rc.d/inetd script.

Though I suspect that a simple ``skill -HUP inetd'' would have worked in
this particular case.

(skill is a linux-ism that is pretty close to something like kill `pidof
...`.  Actually, depending on which package your /bin/kill came from,
/bin/kill -HUP inetd might have worked as well, but I've some to use skill
by default)

     Mike Castle      address@hidden
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

reply via email to

[Prev in Thread] Current Thread [Next in Thread]