From 46c69a9d452ef5d8d854694d1bc1bc1ebe9971e5 Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Fri, 9 Jul 2010 15:47:36 -0500 Subject: 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 --- docs/mock.1 | 8 ++++++-- 1 file 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 -- cgit