Ignore:
Timestamp:
05/30/2005 09:56:30 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 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:
3aa07d1
Parents:
f009801
Message:

Removed excess spaces from the ends of lines in the source files

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/skel.xml

    rf009801 re0d33ef  
    2525
    2626  <para>Together, the <command>/usr/sbin/useradd</command> command and
    27   <filename class="directory">/etc/skel</filename> directory (both are easy to 
    28   setup and use) provide a way to assure new users are added on your LFS 
    29   system with the same beginning settings for things like <envar>PATH</envar>, 
    30   keyboard processing and environmental variables. Using these two facilities 
     27  <filename class="directory">/etc/skel</filename> directory (both are easy to
     28  setup and use) provide a way to assure new users are added on your LFS
     29  system with the same beginning settings for things like <envar>PATH</envar>,
     30  keyboard processing and environmental variables. Using these two facilities
    3131  makes it easier to assure this initial state for each new user.</para>
    3232
    33   <para>The <filename class="directory">/etc/skel</filename> directory holds 
    34   copies of various initialization and other files that may be copied to the 
     33  <para>The <filename class="directory">/etc/skel</filename> directory holds
     34  copies of various initialization and other files that may be copied to the
    3535  new user's home directory when the <command>/usr/sbin/useradd</command>
    3636  program adds the new user.</para>
     
    4141  default values kept in <filename>/etc/default/useradd</filename>,
    4242  if it exists.  If the file does not exist, then it uses some internal
    43   defaults.  You can see the default values by running 
     43  defaults.  You can see the default values by running
    4444  <command>/usr/sbin/useradd -D</command>.</para>
    4545
    4646  <para>To change these values to something new, create a base <filename>
    47   /etc/default/useradd</filename> file with the same values as the output of 
     47  /etc/default/useradd</filename> file with the same values as the output of
    4848  <command>/usr/sbin/useradd -D</command>.  Here is a sample.</para>
    4949
     
    6464<screen role="root"><userinput>/usr/sbin/useradd -D -s/bin/bash</userinput></screen>
    6565
    66   <para>This will set the <envar>SHELL</envar>= line to 
     66  <para>This will set the <envar>SHELL</envar>= line to
    6767  <envar>SHELL</envar>=/bin/bash.</para>
    6868
     
    7474  <bridgehead renderas="sect5">/etc/skel</bridgehead>
    7575
    76   <para>To get started, create an <filename 
    77   class="directory">/etc/skel</filename> directory and make sure it is 
    78   writable only by the system administrator, usually <systemitem 
    79   class="username">root</systemitem>. Creating the 
    80   directory as <systemitem class="username">root</systemitem> is 
     76  <para>To get started, create an <filename
     77  class="directory">/etc/skel</filename> directory and make sure it is
     78  writable only by the system administrator, usually <systemitem
     79  class="username">root</systemitem>. Creating the
     80  directory as <systemitem class="username">root</systemitem> is
    8181  the best way to go.</para>
    8282
    8383  <para>The mode of any files from this part of the book that you put in
    84   <filename class="directory">/etc/skel</filename> should be writable only by 
    85   the owner. Also, since there is no telling what kind of sensitive information 
     84  <filename class="directory">/etc/skel</filename> should be writable only by
     85  the owner. Also, since there is no telling what kind of sensitive information
    8686  a user may eventually place in their copy of these files, you should
    8787  make them unreadable by "group" and "other".</para>
    8888
    89   <para>You can also put other files in 
     89  <para>You can also put other files in
    9090  <filename class="directory">/etc/skel</filename> and
    9191  different permissions may be needed for them.</para>
     
    9393  <para>Decide which initialization files should be provided in every (or most)
    9494  new user's home directory. The decisions you make will affect what you
    95   do in the next two sections, <xref linkend="postlfs-config-profile"/> and 
     95  do in the next two sections, <xref linkend="postlfs-config-profile"/> and
    9696  <xref linkend="postlfs-config-vimrc"/>. Some or all of those files will be
    97   useful for <systemitem class="username">root</systemitem>, any 
     97  useful for <systemitem class="username">root</systemitem>, any
    9898  already-existing users, and new users.</para>
    9999
     
    108108
    109109  <para>You will run a slightly modified set of commands for files which
    110   are placed in <filename class="directory">/etc/skel</filename>. Each section 
    111   will remind you of this. In brief, the book's commands have been written for 
    112   files <emphasis>not</emphasis> added to 
    113   <filename class="directory">/etc/skel</filename> and just send the results to 
    114   the user's home directory. If the file is going to be in 
    115   <filename class="directory">/etc/skel</filename>, change the book's command(s) 
     110  are placed in <filename class="directory">/etc/skel</filename>. Each section
     111  will remind you of this. In brief, the book's commands have been written for
     112  files <emphasis>not</emphasis> added to
     113  <filename class="directory">/etc/skel</filename> and just send the results to
     114  the user's home directory. If the file is going to be in
     115  <filename class="directory">/etc/skel</filename>, change the book's command(s)
    116116  to send output there instead and then just copy the file from
    117   <filename class="directory">/etc/skel</filename> to the appropriate 
    118   directories, like <filename class="directory">/etc</filename>, 
    119   <filename class="directory">~</filename> or the home directory 
     117  <filename class="directory">/etc/skel</filename> to the appropriate
     118  directories, like <filename class="directory">/etc</filename>,
     119  <filename class="directory">~</filename> or the home directory
    120120  of any other user already in the system.</para>
    121121
     
    125125  the <option>-m</option> parameter, which tells
    126126  <command>useradd</command> to create the user's home directory and
    127   copy files from <filename class="directory">/etc/skel</filename> (can be 
     127  copy files from <filename class="directory">/etc/skel</filename> (can be
    128128  overridden) to the new user's home directory.  For example:</para>
    129129
Note: See TracChangeset for help on using the changeset viewer.