Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Dec 2012 12:22:29 +0800
From:      "Edward" <edward@rdtan.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        edward@rdtan.net
Subject:   docs/174251: [PATCH] Propose to add in example for adding users to wheel group
Message-ID:  <50c16f0a.e38a440a.56aa.fffff5ed@mx.google.com>
Resent-Message-ID: <201212070430.qB74U0Yn099036@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 07 04:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50c16f0a.e38a440a.56aa.fffff5ed>