diff options
Diffstat (limited to 'static/freebsd/man5/services.5 3.html')
| -rw-r--r-- | static/freebsd/man5/services.5 3.html | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/static/freebsd/man5/services.5 3.html b/static/freebsd/man5/services.5 3.html new file mode 100644 index 00000000..78fb12d9 --- /dev/null +++ b/static/freebsd/man5/services.5 3.html @@ -0,0 +1,77 @@ +<table class="head"> + <tr> + <td class="head-ltitle">SERVICES(5)</td> + <td class="head-vol">File Formats Manual</td> + <td class="head-rtitle">SERVICES(5)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">services</code> — + <span class="Nd">internet service name and port number data base</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The <code class="Nm">services</code> file contains information + regarding the known services available in the Internet. For each service a + single line should be present with the following information:</p> +<div class="Bd Pp Bd-indent"> +<pre>official service name +port number +protocol name +aliases</pre> +</div> +<p class="Pp" id="item">Items are separated by any number of blanks and/or tab + characters. The port number and protocol name are considered a single + <a class="permalink" href="#item"><i class="Em">item</i></a>; a ``/'' is + used to separate the port and protocol (e.g. ``512/tcp''). A ``#'' indicates + the beginning of a comment; subsequent characters up to the end of the line + are not interpreted by the routines which search the file.</p> +<p class="Pp">Service names may contain any printable character other than a + field delimiter, newline, or comment character.</p> +<p class="Pp">If “db” is specified as source in the + <a class="Xr">nsswitch.conf(5)</a>, + <span class="Pa">/var/db/services.db</span> is searched. The database in + <span class="Pa">/var/db/services.db</span> needs to be updated with + <a class="Xr">services_mkdb(8)</a> after changes to the services file have + been applied.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="NIS_INTERACTION"><a class="permalink" href="#NIS_INTERACTION">NIS + INTERACTION</a></h1> +<p class="Pp">Access to the NIS <span class="Pa">services.byname</span> map can + be enabled by adding a single ``+'' on a line by itself in the + <span class="Pa">/etc/services</span> file. This causes the contents of the + NIS services map to be inserted at the location where the ``+'' appears.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1> +<dl class="Bl-tag Bl-compact"> + <dt><span class="Pa">/etc/services</span></dt> + <dd>The <code class="Nm">services</code> file resides in + <span class="Pa">/etc</span>.</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">getservent(3)</a>, + <a class="Xr">nsswitch.conf(5)</a>, <a class="Xr">services_mkdb(8)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> +<p class="Pp">The <code class="Nm">services</code> file format appeared in + <span class="Ux">4.2BSD</span>.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1> +<p class="Pp">A name server should be used instead of a static file.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">April 29, 2024</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
