diff options
author | Clark Williams <williams@redhat.com> | 2010-07-09 15:47:36 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2010-07-27 13:07:45 -0500 |
commit | 46c69a9d452ef5d8d854694d1bc1bc1ebe9971e5 (patch) | |
tree | 4b2561a503d456906a78e7c98ffa89b5794502f8 | |
parent | b86c7586c64036f69a492d4fd0415a90dced78f6 (diff) | |
download | mock-46c69a9d452ef5d8d854694d1bc1bc1ebe9971e5.tar.gz mock-46c69a9d452ef5d8d854694d1bc1bc1ebe9971e5.tar.xz mock-46c69a9d452ef5d8d854694d1bc1bc1ebe9971e5.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, 6 insertions, 2 deletions
diff --git a/docs/mock.1 b/docs/mock.1 index b3e7d4a..6cb45a2 100644 --- a/docs/mock.1 +++ b/docs/mock.1 @@ -43,8 +43,12 @@ 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. +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 |