1 TITLE: /etc/services and port-assignments
3 AUTHOR: Scot Mc Pherson <scotATlinuxfromscratchDOTorg>
7 Replacing the default /etc/services file with the more complete
8 port-assignments file from iana.org
12 http://www.iana.org/assignments/port-numbers
16 Visit the above URL to get the current version of the /etc/services file.
18 Save the page to ~/port-assignments
21 Comment out or remove the beginning and the end of the file so that its
23 the current /etc/services file.
25 mv /etc/services /etc/services.old
26 cp ~/port-assignments /etc/services
27 chown root.root /etc/services
28 chmod 444 /etc/services