summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/mock.18
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/mock.1 b/docs/mock.1
index 531d117..6cb45a2 100644
--- a/docs/mock.1
+++ b/docs/mock.1
@@ -41,6 +41,14 @@ 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. This can
+be done with the following command:
+.P
+ \fBsudo /usr/sbin/usermod -a -G mock $USER\fR
+
+Note that mock is not intended to be run directly as root.
.SH "COMMANDS"
.LP