On Sun, 2002-07-07 at 14:08, Jean-Pierre Schwickerath wrote:
> Gordon Messmer <[EMAIL PROTECTED]> wrote:
> > 
> > Well, there's your problem.  Words that follow the port/protocol are
> > aliases, unless they're commented out with a hash.  Your services file
> > is obviously bunk.  Contact your vendor and inform them of that...
> 
> I have the file from the IANA
> http://www.iana.org/assignments/port-numbers
> I think it might not have been such a great idea to use this file as
> /etc/services

Yeah, it's not the right format.  You can probably mostly fix it up like
so:

sed -e 's/^\([^#]*\/\(tcp\|udp\)[[:space:]]*\)/\1#/' < /etc/services > \
        /etc/services.fixed
mv /etc/services.fixed /etc/services





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to