Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Mark Fifield on January 07, 2003, 05:29:46 PM

Title: Adding Services
Post by: Mark Fifield on January 07, 2003, 05:29:46 PM
Hi,

I have a probably quick and hopefully simple question...

I need to add a service (ACAP on Port 674) to the list in /etc/services my question is, is this safe? When I open /etc/services file in vi, the first few lines say DO NOT MODIFY THIS FILE!!! Which I suppose is there for a reason. So can I safely edit this file without having adverse affects elsewhere??

Thanx in advance!
Mark
Title: Re: Adding Services
Post by: Bill Talcott on January 07, 2003, 05:35:44 PM
It won't hurt anything to edit the file. However, your changes will be lost on reboot.

http://www.e-smith.org/custom/ (The "customizing the system" link from the front page of e-smith.org.)

Each config file is created from a directory full of fragments. There is a custom directory where you can place additional or modified fragments. Then if you want to revert back to the original, just delete your custom fragments, and everything is fine again.
Title: Re: Adding Services
Post by: Mark Fifield on January 07, 2003, 07:01:11 PM
Clever stuff, thanks for that!

Mark
Title: Re: Adding Services
Post by: Charlie Brady on January 08, 2003, 05:49:19 AM
Mark Fifield wrote:

>  When I open
> /etc/services file in vi, the first few lines say DO NOT
> MODIFY THIS FILE!!!

What do the next few lines of the file say?

BT> It won't hurt anything to edit the file. However, your changes
BT>  will be lost on reboot.

That's not true. No templated file is re-expanded at reboot, but all templated files are re-expanded at one time or another. At upgrade is one time when you can be sure that every templated file is re-expanded.

Charlie
Title: Re: Adding Services
Post by: MadPat on March 06, 2003, 05:52:14 PM
how is het possible when i add a line to open desmtp-backdoor port, this line is removed after reoot ??