Changeset 76c3eca in clfs-sysroot for BOOK/final-preps/addinguser.xml


Ignore:
Timestamp:
Jan 5, 2009, 12:45:16 AM (16 years ago)
Author:
Chris Staub <chris@…>
Branches:
master
Children:
7400ff8
Parents:
9da6c48
Message:

CLFS sysroot normally uses DESTDIR anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-preps/addinguser.xml

    r9da6c48 r76c3eca  
    2222
    2323<screen><userinput>groupadd clfs
    24 useradd -s /bin/bash -g clfs -m -k /dev/null clfs</userinput></screen>
     24useradd -s /bin/bash -g clfs -d /home/clfs clfs
     25mkdir -pv /home/clfs
     26chown -v clfs:clfs /home/clfs</userinput></screen>
    2527
    2628  <variablelist>
     
    4042        <para>This option adds user <systemitem class="username">clfs</systemitem>
    4143        to group <systemitem class="groupname">clfs</systemitem>.</para>
    42       </listitem>
    43     </varlistentry>
    44 
    45     <varlistentry>
    46       <term><parameter>-m</parameter></term>
    47       <listitem>
    48         <para>This creates a home directory for <systemitem
    49         class="username">clfs</systemitem>.</para>
    50       </listitem>
    51     </varlistentry>
    52 
    53     <varlistentry>
    54       <term><parameter>-k /dev/null</parameter></term>
    55       <listitem>
    56         <para>This parameter prevents possible copying of files from a skeleton
    57         directory (default is <filename class="directory">/etc/skel</filename>)
    58         by changing the input location to the special null device.</para>
    5944      </listitem>
    6045    </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.