2 .\" Copyright 1989 AT&T
3 .\" Copyright (C) 2005, Sun Microsystems, Inc. All Rights Reserved
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH KEYSERV 1M "Jan 4, 2002"
9 keyserv \- server for storing private encryption keys
13 \fBkeyserv\fR [\fB-c\fR] [\fB-d\fR | \fB-e\fR] [\fB-D\fR] [\fB-n\fR] [\fB-s\fR \fIsizespec\fR]
19 \fBkeyserv\fR is a daemon that is used for storing the private encryption keys
20 of each user logged into the system. These encryption keys are used for
21 accessing secure network services such as secure \fBNFS\fR and NIS+.
24 Normally, root's key is read from the file \fB/etc/.rootkey\fR when the daemon
25 is started. This is useful during power-fail reboots when no one is around to
29 \fBkeyserv\fR does not start up if the system does not have a secure \fBrpc\fR
30 domain configured. Set up the domain name by using the
31 \fB/usr/bin/domainname\fR command. Usually the
32 \fBsvc:/system/identity:domain\fR service reads the domain from
33 \fB/etc/defaultdomain\fR. Invoking the \fBdomainname\fR command without
34 arguments tells you if you have a domain set up.
37 The \fB/etc/default/keyserv\fR file contains the following default parameter
42 \fB\fBENABLE_NOBODY_KEYS\fR\fR
45 Specifies whether default keys for \fBnobody\fR are used.
46 \fBENABLE_NOBODY_KEYS=NO\fR is equivalent to the \fB-d\fR command-line option.
47 The default value for \fBENABLE_NOBODY_KEYS\fR is \fBYES\fR.
53 The following options are supported:
60 Do not use disk caches. This option overrides any \fB-s\fR option.
69 Run in debugging mode and log all requests to \fBkeyserv\fR.
78 Disable the use of default keys for \fBnobody\fR. See .
87 Enable the use of default keys for \fBnobody\fR. This is the default behavior.
97 Root's secret key is not read from \fB/etc/.rootkey\fR. Instead, \fBkeyserv\fR
98 prompts the user for the password to decrypt root's key stored in the
99 \fBpublickey\fR database and then stores the decrypted key in
100 \fB/etc/.rootkey\fR for future use. This option is useful if the
101 \fB/etc/.rootkey\fR file ever gets out of date or corrupted.
107 \fB\fB-s\fR \fIsizespec\fR\fR
110 Specify the size of the extended Diffie-Hellman common key disk caches. The
111 \fIsizespec\fR can be one of the following forms:
115 \fB\fImechtype\fR=\fBsize\fR\fR
118 \fBsize\fR is an integer specifying the maximum number of entries in the cache,
119 or an integer immediately followed by the letter \fIM\fR, denoting the maximum
129 This form of \fIsizespec\fR applies to all caches.
132 See \fBnisauthconf\fR(1M) for mechanism types. Note that the \fBdes\fR
133 mechanism, \fBAUTH_DES\fR, does not use a disk cache.
140 \fB\fB/etc/.rootkey\fR\fR
149 \fB\fB/etc/default/keyserv\fR\fR
152 Contains default settings. You can use command-line options to override these
159 \fBkeylogin\fR(1), \fBsvcs\fR(1), \fBkeylogout\fR(1), \fBnisauthconf\fR(1M),
160 \fBsvcadm\fR(1M), \fBpublickey\fR(4), \fBattributes\fR(5), \fBsmf\fR(5)
163 http://www.sun.com/directory/nisplus/transition.html
167 NIS+ might not be supported in future releases of the Solaris operating system.
168 Tools to aid the migration from NIS+ to LDAP are available in the current
169 Solaris release. For more information, visit
170 http://www.sun.com/directory/nisplus/transition.html.
173 The \fBkeyserv\fR service is managed by the service management facility,
174 \fBsmf\fR(5), under the service identifier:
178 svc:/network/rpc/keyserv:default
185 Administrative actions on this service, such as enabling, disabling, or
186 requesting restart, can be performed using \fBsvcadm\fR(1M). The service's
187 status can be queried using the \fBsvcs\fR(1) command.