From owner-freebsd-doc@FreeBSD.ORG Fri Dec 7 04:30:00 2012 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3D7D433 for ; Fri, 7 Dec 2012 04:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 939E08FC14 for ; Fri, 7 Dec 2012 04:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB74U0IR099037 for ; Fri, 7 Dec 2012 04:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qB74U0Yn099036; Fri, 7 Dec 2012 04:30:00 GMT (envelope-from gnats) Resent-Date: Fri, 7 Dec 2012 04:30:00 GMT Resent-Message-Id: <201212070430.qB74U0Yn099036@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edward Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C73E2301 for ; 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 ; Fri, 7 Dec 2012 04:22:35 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi5so169723pad.13 for ; 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" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/174251: [PATCH] Propose to add in example for adding users to wheel group Cc: edward@rdtan.net X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Edward List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 04:30:00 -0000 >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 @@ To allow someone to su to root, simply put them in the - wheel group. + wheel group. Use the &man.pw.8 utility + for this purpose. + &prompt.root; pw groupmod wheel -m joe + The above example will add user joe to + group wheel. --- diff.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: