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

Re: [cobalt-users] Editable areas via shell



--- Ferre Horvath <ferre.horvath@xxxxxxxxx> wrote:
> is there a way to edit the
> - nameserve zonefiles
> - httpd.conf
> - aliases
> - virtusers
> 
> files?
> 
> What is the risk hereby, can I use include-files to do this, where should I
> add them (first or last line) and what should I do to compile the .db files
> for them?

Sure. Use your favourite text editor.

Be sure to restart httpd/named/sendmail after making the changes.

- if you modify httpd.conf, then be careful about the cobalt-generated
<VirtualHost> bits.

- if you modify /etc/virtusertable, cobalt has a line that says "place custom
mods after this line."

- if you modify virtusertable, do a "/usr/bin/makemap hash
/etc/virtusertable.db < /etc/virtusertable" afterwards, and then restart
sendmail.

Paul

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com