Typo
[linux_from_scratch_hints.git] / OLD / port_assignments.txt
blob973375c2dbf29d6fd08b0190cf1c626b1a66dbcf
1 TITLE:          /etc/services and port-assignments
2 LFS VERSION:    ALL
3 AUTHOR:         Scot Mc Pherson <scotATlinuxfromscratchDOTorg>
6 SYNOPSIS:
7         Replacing the default /etc/services file with the more complete
8         port-assignments file from iana.org
11 Resources:
12 http://www.iana.org/assignments/port-numbers
15 HINT:
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
22 syntax matches
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
31 You are done.