Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 15:30:47 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r40317 - head/en_US.ISO8859-1/books/faq
Message-ID:  <201212101530.qBAFUlNU045269@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Dec 10 15:30:47 2012
New Revision: 40317
URL: http://svnweb.freebsd.org/changeset/doc/40317

Log:
  Add an example of how to add a user to the 'wheel' group to the
  su-wheel-group FAQ.
  
  PR:		docs/174251
  Submitted by:	"Edward" <edward@rdtan.net>
  Approved by:	bcr (mentor)

Modified:
  head/en_US.ISO8859-1/books/faq/book.xml

Modified: head/en_US.ISO8859-1/books/faq/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/faq/book.xml	Mon Dec 10 11:23:32 2012	(r40316)
+++ head/en_US.ISO8859-1/books/faq/book.xml	Mon Dec 10 15:30:47 2012	(r40317)
@@ -5349,7 +5349,14 @@ C:\="DOS"</programlisting>
 
 	  <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 &man.pw.8
+	    for this purpose.</para>
+
+	  <screen>&prompt.root; <userinput>pw groupmod wheel -m <replaceable>lisa</replaceable></userinput></screen>
+
+	  <para>The above example will add user
+	    <username>lisa</username> to the group
+	    <groupname>wheel</groupname>.</para>
 	</answer>
       </qandaentry>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212101530.qBAFUlNU045269>