Changeset 3a79861


Ignore:
Timestamp:
04/01/2008 06:37:20 PM (16 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c5923846
Parents:
42c6288
Message:

Updates on usermod commands

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7337 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • basicnet/connect/ppp.xml

    r42c6288 r3a79861  
    167167      <systemitem class="username">root</systemitem> user.</para>
    168168
     169      <para>Add the users who may run <application>PPP</application> to the
     170      <systemitem class="groupname">pppusers</systemitem> group:</para>
     171<screen role="root"><userinput>usermod -a -G pppusers <replaceable>&lt;username&gt;</replaceable></userinput></screen>
     172
    169173    <sect4>
    170174      <title>Setting the passwords</title>
  • general/genlib/libusb.xml

    r42c6288 r3a79861  
    150150
    151151    <para>To have raw USB devices set up properly, add the following
    152     <application>udev</application> rule and add any users
    153     that need to access raw USB devices to the "usb" group.</para>
     152    <application>udev</application> rule.</para>
    154153
    155154<screen><literal>cat &gt; /etc/udev/rules.d/23-usb.rules &lt;&lt; "EOF"
     
    176175<screen><literal>usbfs  /proc/bus/usb  usbfs  devgid=14,devmode=0660  0  0</literal></screen>
    177176-->
     177
     178    <para>Add any users that need to access raw USB devices to the
     179    <systemitem class="groupname">usb</systemitem> group.</para>
     180<screen role="root"><userinput>usermod -a -G usb <replaceable>&lt;username&gt;</replaceable></userinput></screen>
    178181
    179182  </sect2>
  • general/sysutils/hal.xml

    r42c6288 r3a79861  
    277277      <para>Now add the users you would like to the <systemitem
    278278      class="groupname">halusers</systemitem> group to use
    279       <application>HAL</application>. Note that these users still need
     279      <application>HAL</application>.</para>
     280<screen role="root"><userinput>usermod -a -G halusers <replaceable>&lt;username&gt;</replaceable></userinput></screen>
     281      <para>Note that these users still need
    280282      to have appropriate permissions to access the devices that
    281283      <application>HAL</application> will invoke its methods on.</para>
  • introduction/welcome/changelog.xml

    r42c6288 r3a79861  
    4646        <listitem>
    4747          <para>[ken] - Updated xine-lib to 1.1.11.1.</para>
     48        </listitem>
     49        <listitem>
     50          <para>[thomas] - Updates on adding users to groups. Avoid destroying
     51          group assignments in usermod commands without -a option</para>
    4852        </listitem>
    4953      </itemizedlist>
  • multimedia/libdriv/alsa-utils.xml

    r42c6288 r3a79861  
    167167EOF
    168168chmod -v 644 /etc/udev/rules.d/40-alsa.rules</userinput></screen>
     169
     170      <para>All sound devices are not accessable for any user except
     171      <systemitem class="username">root</systemitem> and members of the
     172      <systemitem class="groupname">audio</systemitem> group. Add any users
     173      that might use the sound devices to that group:</para>
     174<screen role="root"><userinput>usermod -a -G audio <replaceable>&lt;username&gt;</replaceable></userinput></screen>
     175
     176      <note>
     177        <para>You may need to log out and back in again to refresh your group
     178        memberships. '<command>su <replaceable>&lt;username&gt;</replaceable></command>'
     179        should work around this as well.</para>
     180      </note>
    169181
    170182    </sect3>
  • server/other/svnserver.xml

    r42c6288 r3a79861  
    8080
    8181<screen role="root"><userinput>groupadd -g 57 svntest &amp;&amp;
    82 usermod -G svntest svn</userinput></screen>
     82usermod -G svntest -a svn</userinput></screen>
    8383
    8484      <para>Additionally you should set <command>umask 002</command> while
     
    160160chmod -R g+w /srv/svn/repositories/svntest &amp;&amp;
    161161chmod g+s /srv/svn/repositories/svntest/db &amp;&amp;
    162 usermod -G svn,svntest,<replaceable>&lt;insert existing groups&gt;</replaceable> <replaceable>&lt;username&gt;</replaceable></userinput></screen>
     162usermod -G svn,svntest -a <replaceable>&lt;username&gt;</replaceable></userinput></screen>
    163163
    164164      <para><systemitem class="groupname">svntest</systemitem> is the group
  • x/installing/x-setup.xml

    r42c6288 r3a79861  
    275275EndSection</literal></screen>
    276276
     277    <para>The DRI devices are not accessable for any user except
     278      <systemitem class="username">root</systemitem> and members of the
     279      <systemitem class="groupname">video</systemitem> group. Add any users
     280      that might use X to that group:</para>
     281<screen role="root"><userinput>usermod -a -G video <replaceable>&lt;username&gt;</replaceable></userinput></screen>
     282
    277283    <note><para>DRI configuration may differ if you are using alternate
    278284    drivers, such as those from
Note: See TracChangeset for help on using the changeset viewer.