From edward@rdtan.net  Fri Dec  7 04:22:35 2012
Return-Path: <edward@rdtan.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id C73E2301
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Dec 2012 04:22:35 +0000 (UTC)
	(envelope-from edward@rdtan.net)
Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54])
	by mx1.freebsd.org (Postfix) with ESMTP id 92EC78FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Dec 2012 04:22:35 +0000 (UTC)
Received: by mail-pa0-f54.google.com with SMTP id bi5so169723pad.13
        for <FreeBSD-gnats-submit@freebsd.org>; Thu, 06 Dec 2012 20:22:35 -0800 (PST)
Received: by 10.68.234.201 with SMTP id ug9mr12021934pbc.63.1354854155143;
        Thu, 06 Dec 2012 20:22:35 -0800 (PST)
Received: from rdtan.net ([210.195.212.155])
        by mx.google.com with ESMTPS id qt3sm5944489pbb.32.2012.12.06.20.22.31
        (version=SSLv3 cipher=OTHER);
        Thu, 06 Dec 2012 20:22:34 -0800 (PST)
Received: by rdtan.net (sSMTP sendmail emulation); Fri, 07 Dec 2012 12:22:29 +0800
Message-Id: <50c16f0a.e38a440a.56aa.fffff5ed@mx.google.com>
Date: Fri, 07 Dec 2012 12:22:29 +0800
From: "Edward" <edward@rdtan.net>
Reply-To: Edward <edward@rdtan.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: edward@rdtan.net
Subject: [PATCH] Propose to add in example for adding users to wheel group
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         174251
>Category:       docs
>Synopsis:       [PATCH] Propose to add in example for adding users to wheel group
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 07 04:30:00 UTC 2012
>Closed-Date:    Thu Dec 13 03:43:04 UTC 2012
>Last-Modified:  Thu Dec 13 03:43:04 UTC 2012
>Originator:     Edward
>Release:        FreeBSD 8.3-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD docs 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
	This proposed patch refers to FAQ book on Chapter 10.4 (Why do I get the error, "you are not in the correct group to su root" when I try to su to root?). Patch attached includes an example on how to add user to "wheel" group using "pw" utility. 
>How-To-Repeat:
>Fix:

--- diff.txt begins here ---
--- book.xml.original	2012-11-24 00:40:21.000000000 +0800
+++ book.xml	2012-12-07 12:09:42.000000000 +0800
@@ -5488,7 +5488,11 @@
 
 	  <para>To allow someone to <command>su</command> to
 	    <username>root</username>, simply put them in the
-	    <groupname>wheel</groupname> group.</para>
+	    <groupname>wheel</groupname> group. Use the &man.pw.8 utility
+		for this purpose.
+	  <screen>&prompt.root; <userinput>pw groupmod wheel -m <replaceable>joe</replaceable></userinput></screen>
+		The above example will add user <username>joe</username> to 
+		group <groupname>wheel</groupname>.</para>
 	</answer>
       </qandaentry>
 
--- diff.txt ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Fri Dec 7 04:35:36 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174251 
State-Changed-From-To: open->analyzed 
State-Changed-By: eadler 
State-Changed-When: Fri Dec 7 04:40:05 UTC 2012 
State-Changed-Why:  
awaiting approval or review prior to commit (no action needed from 
submitter) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174251 
State-Changed-From-To: analyzed->closed 
State-Changed-By: eadler 
State-Changed-When: Thu Dec 13 03:43:03 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174251 
>Unformatted:
