diff options
author | Clark Williams <williams@redhat.com> | 2010-07-09 15:47:36 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2010-07-31 14:04:48 -0500 |
commit | f508276707064d827c805c6740ff0b21bd25187f (patch) | |
tree | 878f67d7757c9509d041fd5cbf105d57f2bf4f52 | |
parent | 92861f8a2cbbb1eb4d898da41b9cd8c1366400d4 (diff) | |
download | mock-f508276707064d827c805c6740ff0b21bd25187f.tar.gz mock-f508276707064d827c805c6740ff0b21bd25187f.tar.xz mock-f508276707064d827c805c6740ff0b21bd25187f.zip |
Added description of how to add user to the mock group (BZ# 570434)
added description of how a user may add themselves to the mock
group to the mock man page.
Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r-- | docs/mock.1 | 8 |
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 |