[fedfs-utils] [PATCH 4/6] rpc.fedfsd(8): Update documentation for --uid and --gid

Chuck Lever chuck.lever at oracle.com
Wed May 4 15:13:19 PDT 2011


I never got around to updating rpc.fedfsd(8) to describe how
flexible the --uid and --gid options are now.  Both can take
either numeric or text IDs.

Signed-off-by: Chuck Lever <chuck.lever at oracle.com>
---

 doc/man/rpc.fedfsd.8 |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/doc/man/rpc.fedfsd.8 b/doc/man/rpc.fedfsd.8
index b54f026..4f7f384 100644
--- a/doc/man/rpc.fedfsd.8
+++ b/doc/man/rpc.fedfsd.8
@@ -81,22 +81,27 @@ instead of to the system log.
 If this option is not specified,
 .BR rpc.fedfsd (8)
 backgrounds itself soon after it starts.
-.IP "\fB\-u, \-\-uid \fInum\fP"
-Specifies the numeric UID that
+.IP "\fB\-u, \-\-uid=\fIid\fP"
+Specifies the numeric or text UID that
 .BR rpc.fedfsd (8)
 runs under after dropping root privileges.
-By default, the numeric UID for the user
+By default, the UID for the user
 .I fedfs
 is used.
-.IP "\fB\-g, \-\-gid \fInum\fP"
-Specifies the numeric GID that
+If that user doesn't exist, then the UID for
+.I nobody
+is used instead.
+.IP "\fB\-g, \-\-gid=\fIid\fP"
+Specifies the numeric or text GID that
 .BR rpc.fedfsd (8)
 runs under after dropping root privileges.
-By default, the numeric GID for the group
+By default, the GID for the group
 .I fedfs
 is used.
-.TP
-.IP "\fB\-o, \-\-port \fInum\fP"
+If that group doesn't exist, then the GID for
+.I nobody
+is used instead.
+.IP "\fB\-o, \-\-port=\fInum\fP"
 Specifies the port number used for RPC listener sockets.
 If this option is not specified,
 .BR rpc.fedfsd (8)




More information about the fedfs-utils-devel mailing list