> 
> I would like to politely disagree with the 1.5 minute search in finding
> out how to instruct a program to read its new configuration file.  As near
> as I can find out there is no one generic way to do this, and the man/info
> pages don't always explain how.  Fortunately one or two of the conf files
> include a brief instruction within the file (ref /etc/aliases).

In general, daemons accept SIGHUP so to make it reread its conf file;

kill -HUP XXX where XXX is the process number.

If you are using Redhat for instance you can take advantage of the SysV init
scripts, take inetd as an example;

cd /etc/rc.d/rc3.d
.S50inet restart

/etc/aliases on the otherhand is not a daemon process, its a system
configuration file used via sendmail in general and its MTA.
All newaliases does is update the database /etc/aliases.db sendmail invoked
with -bi should do the same.

> 
> Having come from Windows I find myself strongly tempted to reboot each
> time I make a change.  Frankly, Linux reboots faster than it takes me to
> find out how to tell the respective program how to update it's conf
> records.

After a while your thoughts will change, one old saying is, you cant run
before you can walk.
I have been using linux since the first kernel was released, i for one still
learn new tips and tricks everyday.
One good tip is not to compare linux with any other O/S espesaly windows
that will only confuse you more.

> 
> Glen
> 
> 
> 
> On Sun, 1 Aug 1999, Steve Youngs wrote:
> 
> > Hey! Did you see what David Krings wrote on Jul 31 ?
> > 
> > DK> >> Even better. I rebooted.
> > DK> >> 
> > DK> ><snipped double quoted>
> > DK> >Pah! You come from Windows, don't you :-)
> > DK> >Like someone says in his/her sig:
> > DK> >"You have moved the mouse.
> > DK> >Windows has to be rebooted for the changes to take effect..."
> > DK> 
> > DK>         Then i wonder why there is any reboot option in Linux if it is the most
> > DK> fatal error a Linux user can do - i thought Linux is bugless. ;)
> > 
> > You thought wrong dude.  No one ever said Linux was "bugless"
> > Perhaps you are confusing bugless with robust, stable, superior to
> > anything that ever came out of Redmond... :-)
> > 
> > The reboot functionality of Linux is there for three reasons...
> > 
> > 1 - To install new hardware.
> > 2 - To upgrade the kernel
> > 3 - For the people who can't bear to let go of Microsoft's apron-strings
> > 
> > Not once have I had to reboot because I installed a new program/package or
> > because I tweeked or re-configured something (apart from a kernel).
> > 
> > Generally I find that people who constantly reboot Linux are people who
> > try to do Linux things the Windoze way, and because it is easier than
> > finding out how to do it the Linux way.  Rather than spending 1.5 minutes
> > finding out how to make a process re-read it's configuration they will
> > spend 3 minutes re-booting.
> > 
> > Regards, Steve Youngs <[EMAIL PROTECTED]> ICQ: 34307457
> > ------------------------------------------------------------
> > |                                 __                       |
> > | Isn't it good to know that     / /   __ ___  __ ____  __ |
> > | There _IS_ an alternative!    / /__ / // _ \/ // /\ \/ / |
> > |                              /____//_//_//_/\_,_/ /_/\_\ |
> > ------------------------------------------------------------
> > 
> 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to