diff options
author | ume <ume@FreeBSD.org> | 2010-04-18 04:07:32 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2010-04-18 04:07:32 +0000 |
commit | 50edecc45441eac7385beca569f1da14f1b9a490 (patch) | |
tree | 73388e031635f47e8040fb3addc72db4edc7a876 /share | |
parent | 79412ab1a15b9e5939e48ea214459a68d9ec5193 (diff) | |
download | FreeBSD-src-50edecc45441eac7385beca569f1da14f1b9a490.zip FreeBSD-src-50edecc45441eac7385beca569f1da14f1b9a490.tar.gz |
MFC r206155, r206267: Add capability to use a db version of
services. It is enabled by specifying `db' as source of
services in /etc/nsswitch.conf.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/nsswitch.conf.5 | 4 | ||||
-rw-r--r-- | share/man/man5/services.5 | 16 |
2 files changed, 18 insertions, 2 deletions
diff --git a/share/man/man5/nsswitch.conf.5 b/share/man/man5/nsswitch.conf.5 index f6940bd..c28720b 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 40320f9..55e0c9d 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 |