Rewrite a paragraph to make it less confusing.

This commit is contained in:
Dima Dorfman 2001-07-19 13:55:38 +00:00
parent 97827e3906
commit f34b8ab126
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9970

View file

@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/users/chapter.sgml,v 1.14 2001/07/17 21:35:41 murray Exp $
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/users/chapter.sgml,v 1.15 2001/07/17 23:33:28 chern Exp $
-->
<chapter id="users">
@ -805,13 +805,15 @@ teamtwo:*:1100:jru</screen>
</example>
<para>The argument to the <option>-M</option> option is a
comma-delimited list of users who are members of the group. If
you've read the preceeding sections, you'll know that the password
file also contains a group for each user; the group in the password
file is automatically added to the group list by the system and will
not (should not) appear in the list of members when using &man.pw.8;
to query group membership. If you wish to find out what groups a
user is part of, you can use the &man.id.1; program as so:</para>
comma-delimited list of users who are members of the group. From the
preceding sections, we know that the password file also contains a
group for each user. The latter (the user) is automatically added to
the group list by the system; the user will not show up as a member
when using the <command>groupshow</command> command to &man.pw.8;,
but will show up when the information is queried via &man.id.1; or
similar tool. In other words, &man.pw.8; only manipulates the
<filename>/etc/group</filename> file; it will never attempt to read
additionally data from <filename>/etc/passwd</filename>.</para>
<example>
<title>Using &man.id.1; to determine group membership</title>