|author||Chuck Lever <firstname.lastname@example.org>||2013-03-23 08:07:46 -0400|
|committer||Steve Dickson <email@example.com>||2013-03-25 10:09:10 -0400|
gssd: Provide an introduction in gssd(8)
It's good practice in user documentation to define terms before they are used. Add an INTRODUCTION section that defines important terms that are used in the DESCRIPTION and OPTIONS sections. The key concepts are GSS context, user credential, machine credential, and keytab. The RFCs I looked at capitalize both "gss" and "rpcsec_gss". For consistency I changed this throughout the man page. Acked-by: J. Bruce Fields <firstname.lastname@example.org> Signed-off-by: Chuck Lever <email@example.com> Signed-off-by: Steve Dickson <firstname.lastname@example.org>
1 files changed, 59 insertions, 14 deletions
diff --git a/utils/gssd/gssd.man b/utils/gssd/gssd.man
index dbbfbbb..fb3ab97 100644
@@ -2,9 +2,10 @@
.\" Copyright (C) 2003 J. Bruce Fields <email@example.com>
-.TH rpc.gssd 8 "14 Mar 2007"
+.TH rpc.gssd 8 "20 Feb 2013"
-rpc.gssd \- rpcsec_gss daemon
+rpc.gssd \- RPCSEC_GSS daemon
.RB [ \-fMnlvr ]
@@ -18,17 +19,58 @@ rpc.gssd \- rpcsec_gss daemon
.IR timeout ]
.RB [ \-R
.IR realm ]
+The RPCSEC_GSS protocol, defined in RFC 5403, is used to provide
+strong security for RPC-based protocols such as NFS.
+Before exchanging RPC requests using RPCSEC_GSS, an RPC client must
+establish a GSS
+.IR "security context" .
+A security context is shared state on each
+end of a network transport that enables GSS-API security services.
+Security contexts are established using
+.IR "security credentials" .
+A credential grants temporary access to a secure network service,
+much as a railway ticket grants temporary access to use a rail service.
+A user typically obtains a credential by providing a password to the
+.BR kinit (1)
+command, or via a PAM library at login time.
+A credential acquired with a
+.I user principal
+is known as a
+.I user credential
+.BR kerberos (1)
+for more on principals).
+For certain operations, a credential is required
+which represents no user,
+is otherwise unprivileged,
+and is always available.
+This is referred to as a
+.IR "machine credential" .
+Machine credentials are typically established using a
+.IR "service principal" ,
+whose encrypted password, called its
+.IR key ,
+is stored in a file, called a
+.IR keytab ,
+to avoid requiring a user prompt.
+A machine credential effectively does not expire because the system
+can renew it as needed without user intervention.
+Once obtained, credentials are typically stored in local temporary files
+with well-known pathnames.
-The rpcsec_gss protocol gives a means of using the gss-api generic security
-api to provide security for protocols using rpc (in particular, nfs). Before
-exchanging any rpc requests using rpcsec_gss, the rpc client must first
-establish a security context. The linux kernel's implementation of rpcsec_gss
-depends on the userspace daemon
-to establish security contexts. The
+To establish GSS security contexts using these credential files,
+the Linux kernel RPC client depends on a userspace daemon called
+.BR rpc.gssd .
-daemon uses files in the rpc_pipefs filesystem to communicate with the kernel.
+daemon uses the rpc_pipefs filesystem to communicate with the kernel.
@@ -134,7 +176,7 @@ stores machine credentials in memory instead.
Increases the verbosity of the output (can be specified multiple times).
-If the rpcsec_gss library supports setting debug level,
+If the RPCSEC_GSS library supports setting debug level,
increases the verbosity of the output (can be specified multiple times).
.BI "-R " realm
@@ -145,14 +187,17 @@ used to create a context. By default, the default realm, as configured
in the Kerberos configuration file, is preferred.
.BI "-t " timeout
-Timeout, in seconds, for kernel gss contexts. This option allows you to force
+Timeout, in seconds, for kernel GSS contexts. This option allows you to force
new kernel contexts to be negotiated after
seconds, which allows changing Kerberos tickets and identities frequently.
The default is no explicit timeout, which means the kernel context will live
the lifetime of the Kerberos service ticket used in its creation.
.SH SEE ALSO
+.BR rpc.svcgssd (8),
+.BR kerberos (1),
+.BR kinit (1),
+.BR krb5.conf (5)
Dug Song <firstname.lastname@example.org>