summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2010-03-18 12:19:26 -0500
committerClark Williams <williams@redhat.com>2010-03-18 12:19:26 -0500
commit544adda55c93d0c718430093619253dab1a4d58d (patch)
tree67c766fa7c15fd395449f75ac711fe1a6271eace /docs
parentb7289638294f77fdbc6e8476b86f9e3d4278e1ae (diff)
downloadmock-544adda55c93d0c718430093619253dab1a4d58d.tar.gz
mock-544adda55c93d0c718430093619253dab1a4d58d.tar.xz
mock-544adda55c93d0c718430093619253dab1a4d58d.zip
add section on being in the mock group to mock.1
We don't explicitly state anywhere that mock should not be run as root, but as a regular user in the mock group. Fix that by adding a small paragraph in the mock man page. Signed-off-by: Clark Williams <williams@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/mock.14
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/mock.1 b/docs/mock.1
index 531d117..b3e7d4a 100644
--- a/docs/mock.1
+++ b/docs/mock.1
@@ -41,6 +41,10 @@ examples of how to set them, and their default values.
For backwards compatibility, old-style commands, ("rebuild", "init", "clean",
etc.) without leading '\-\-' are still accepted, but are deprecated. See
COMMANDS section, below, for detailed listing of all commands.
+.LP
+To use mock, a user should become a member of the \fBmock\fR group by
+adding their username to the \fBmock\fR line in /etc/group. Mock is
+not intended to be run directly as root.
.SH "COMMANDS"
.LP