Changeset 7969

Show
Ignore:
Timestamp:
03/19/07 15:13:34 (1 year ago)
Author:
matthew
Message:

Change the default home directory for new users to /home and prevent useradd from creating mail spool files.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/chapter01/changelog.xml

    r7968 r7969  
    4141      <itemizedlist> 
    4242        <listitem> 
     43          <para>[matthew] - Change the default home directory for new users and 
     44          do not create mail spool files for them.  Add a 
     45          <systemitem class="groupname">mail</systemitem> group so that if 
     46          Shadow is configured to create mail spool files for new users, it can  
     47          do so without issuing a warning.</para> 
     48        </listitem> 
     49        <listitem> 
    4350          <para>[matthew] - Upgrade to Shadow-4.0.18.1.  Fixes 
    4451          <ulink url="&lfs-ticket-root;1850">#1850</ulink></para> 
  • trunk/BOOK/chapter06/createfiles.xml

    r7883 r7969  
    9090usb:x:14: 
    9191cdrom:x:15: 
     92mail:x:34: 
    9293nogroup:x:99:</literal> 
    9394EOF</userinput></screen> 
  • trunk/BOOK/chapter06/shadow.xml

    r7968 r7969  
    158158 
    159159<screen><userinput>grpconv</userinput></screen> 
     160 
     161    <para>Shadow's stock configuration for the <command>useradd</command> 
     162    utility is not suitable for LFS systems.  Use the following commands to 
     163    change the default home directory for new users and prevent the creation of 
     164    mail spool files:</para> 
     165 
     166<screen><userinput>useradd -D -b /home 
     167sed -i 's/yes/no/' /etc/default/useradd</userinput></screen> 
    160168 
    161169  </sect2>