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)
This commit is contained in:
Eitan Adler 2012-12-10 15:30:47 +00:00
parent ca7a7a2d70
commit beca10feb1
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40317

View file

@ -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>