r7337 - in trunk/BOOK

Randy McMurchy randy at linuxfromscratch.org
Tue Apr 1 12:13:16 PDT 2008


thomas at linuxfromscratch.org wrote these words on 04/01/08 13:37 CST:
> Author: thomas
> Date: 2008-04-01 12:37:20 -0600 (Tue, 01 Apr 2008)
> New Revision: 7337
> 
> Log:
> Updates on usermod commands

Comments follow.


> +      <para>Add the users who may run <application>PPP</application> to the
> +      <systemitem class="groupname">pppusers</systemitem> group:</para>
> +<screen role="root"><userinput>usermod -a -G pppusers <replaceable><username></replaceable></userinput></screen>
> +

For clarity sake, please have a blank line after <para>'s and before
the <screen>.


>      <para>To have raw USB devices set up properly, add the following
> -    <application>udev</application> rule and add any users
> -    that need to access raw USB devices to the "usb" group.</para>

Instead of "usb", it should be wrapped (without quotes) in a
<systemitem> tag. Grep the book sources for the exact syntax.


> +    <para>Add any users that need to access raw USB devices to the 
> +    <systemitem class="groupname">usb</systemitem> group.</para>
> +<screen role="root"><userinput>usermod -a -G usb <replaceable><username></replaceable></userinput></screen>

Ditto the blank line.


> +      <application>HAL</application>.</para>
> +<screen role="root"><userinput>usermod -a -G halusers <replaceable><username></replaceable></userinput></screen>
> +      <para>Note that these users still need

Ditto.


>  
> +      <para>All sound devices are not accessable for any user except 

s/accessable/accessible/


> +      <systemitem class="username">root</systemitem> and members of the
> +      <systemitem class="groupname">audio</systemitem> group. Add any users
> +      that might use the sound devices to that group:</para>
> +<screen role="root"><userinput>usermod -a -G audio <replaceable><username></replaceable></userinput></screen>

Ditto blank line

> +      <note>
> +        <para>You may need to log out and back in again to refresh your group
> +        memberships. '<command>su <replaceable><username></replaceable></command>'
> +        should work around this as well.</para>
> +      </note>

Actually, we're not really "working around" anything. Perhaps
(just my opinion) "would work as well" might be better.


 > +    <para>The DRI devices are not accessable for any user except

spelling again.


> +      <systemitem class="username">root</systemitem> and members of the
> +      <systemitem class="groupname">video</systemitem> group. Add any users
> +      that might use X to that group:</para>
> +<screen role="root"><userinput>usermod -a -G video <replaceable><username></replaceable></userinput></screen>

Blank line.

-- 
Randy

rmlscsi: [bogomips 1003.22] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
14:02:01 up 44 days, 4:50, 1 user, load average: 0.85, 0.35, 0.18



More information about the blfs-book mailing list