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

Re: How to modify /etc/services?



On Sat, Sep 25, 1999 at 04:29:26PM -0700, Seth R Arnold wrote:
> If I am not mistaken, since it is a conffile for netstd, other packages are
> forbidden from doing anything with it? I think the proper response is: get
> Maintainer: Anthony Towns <ajt@debian.org> to include your service in
> /etc/services, then your package depends on a specific version of netstd.
> 
> [how did I do? :]
> 
> As for an actual method, probably making a tmp file of what you would like
> to add to it, copying the existing one someplace, then catting the two of
> them back together to /etc/services.

you can use 
update-inetd --file /etc/services --add 'name         port/tcp # comment'

however, be aware that /etc/services can be overwritten when you upgrade
netstd.
 

-- 
 -----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__         garabik @ fmph.uniba.sk           |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!


Reply to: