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
-
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
-
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.
-
Clever stuff, thanks for that!
Mark
-
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
-
how is het possible when i add a line to open desmtp-backdoor port, this line is removed after reoot ??