aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2010-04-18 04:07:32 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2010-04-18 04:07:32 +0000
commit4deeadcb9bd9c7b5c2f1c08b9c75c80636d0fa38 (patch)
tree73388e031635f47e8040fb3addc72db4edc7a876 /share
parentb7a43116e94cd88e4f8b5ee42da3187a1a7b62cd (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/nsswitch.conf.54
-rw-r--r--share/man/man5/services.516
2 files changed, 18 insertions, 2 deletions
diff --git a/share/man/man5/nsswitch.conf.5 b/share/man/man5/nsswitch.conf.5
index f6940bd31b7c..c28720b2f164 100644
--- a/share/man/man5/nsswitch.conf.5
+++ b/share/man/man5/nsswitch.conf.5
@@ -33,7 +33,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 23, 2008
+.Dd April 4, 2010
.Dt NSSWITCH.CONF 5
.Os
.Sh NAME
@@ -72,6 +72,8 @@ Local files, such as
.Pa /etc/hosts ,
and
.Pa /etc/passwd .
+.It db
+Local database.
.It dns
Internet Domain Name System.
.Dq hosts
diff --git a/share/man/man5/services.5 b/share/man/man5/services.5
index 40320f9ffe89..55e0c9d73d2d 100644
--- a/share/man/man5/services.5
+++ b/share/man/man5/services.5
@@ -32,7 +32,7 @@
.\" @(#)services.5 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd June 5, 1993
+.Dd April 4, 2010
.Dt SERVICES 5
.Os
.Sh NAME
@@ -65,6 +65,18 @@ not interpreted by the routines which search the file.
Service names may contain any printable
character other than a field delimiter, newline,
or comment character.
+.Pp
+If
+.Dq db
+is specified as source in the
+.Xr nsswitch.conf 5 ,
+.Pa /var/db/services.db
+is searched.
+The database in
+.Pa /var/db/services.db
+needs to be updated with
+.Xr services_mkdb 8
+after changes to the services file have been applied.
.Sh NIS INTERACTION
Access to the NIS
.Pa services.byname
@@ -84,6 +96,8 @@ file resides in
.El
.Sh SEE ALSO
.Xr getservent 3
+.Xr nsswitch.conf 5
+.Xr services_mkdb 8
.Sh HISTORY
The
.Nm