Ignore:
Timestamp:
10/01/2003 12:45:19 AM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
bb363985
Parents:
2df36e4
Message:

Chapter 13, again

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/skel.xml

    r2df36e4 r8604d92f  
    44
    55<para>Together, the <command>/usr/sbin/useradd</command> command and
    6 <filename>/etc/skel</filename> directory (both are easy to setup and use)
     6<filename class="directory">/etc/skel</filename> directory (both are easy to setup and use)
    77provide a way to assure new users are added on your <acronym>LFS</acronym>
    88system with the same beginning settings for things like <envar>PATH</envar>,
     
    1010makes it easier to assure this initial state for each new user.</para>
    1111
    12 <para>The <filename>/etc/skel</filename> directory holds copies of various
     12<para>The <filename class="directory">/etc/skel</filename> directory holds copies of various
    1313initialization and other files that may be copied to the new user's home
    1414directory when the <command>/usr/sbin/useradd</command> program adds the new
     
    5151<para>For more information see <command>man useradd</command>.</para>
    5252
    53 <para><emphasis><filename>/etc/skel</filename></emphasis></para>
     53<para><emphasis><filename class="directory">/etc/skel</filename></emphasis></para>
    5454
    55 <para>To get started create an <filename>/etc/skel</filename> directory
     55<para>To get started create an <filename class="directory">/etc/skel</filename> directory
    5656and make sure it is writable only by the system administrator, usually
    5757root. Creating the directory as root is the best way to go.</para>
    5858
    5959<para>The mode of any files from this part of the book that you put in
    60 <filename>/etc/skel</filename> should be writable only by the owner.
     60<filename class="directory">/etc/skel</filename> should be writable only by the owner.
    6161Also, since there is no telling what kind of sensitive information a
    6262user may eventually place in their copy of these files, you should
    6363make them unreadable by "group" and "other".</para>
    6464
    65 <para>You can also put other files in <filename>/etc/skel</filename> and
     65<para>You can also put other files in <filename class="directory">/etc/skel</filename> and
    6666different permissions may be needed for them.</para>
    6767
     
    7474
    7575<para>The files from those sections that you might want to place in
    76 <filename>/etc/skel</filename> include
     76<filename class="directory">/etc/skel</filename> include
    7777<filename>.inputrc</filename>, <filename>.bash_profile</filename>,
    7878<filename>.bashrc</filename>, <filename>.bash_logout</filename>,
     
    8383
    8484<para>You will run a slightly modified set of commands for files which
    85 are placed in <filename>/etc/skel</filename>. Each section will remind
     85are placed in <filename class="directory">/etc/skel</filename>. Each section will remind
    8686you of this. In brief, the book's commands have been written for files
    87 <emphasis>not</emphasis> added to <filename>/etc/skel</filename> and
     87<emphasis>not</emphasis> added to <filename class="directory">/etc/skel</filename> and
    8888just send the results to the user's home directory. If the file is going
    89 to be in <filename>/etc/skel</filename>, change the book's command(s) to
     89to be in <filename class="directory">/etc/skel</filename>, change the book's command(s) to
    9090send output there instead and then just copy the file from
    91 <filename>/etc/skel</filename> to the appropriate directories, like
    92 <filename>/etc</filename>, <filename>~</filename> or the home directoriy
     91<filename class="directory">/etc/skel</filename> to the appropriate directories, like
     92<filename class="directory">/etc</filename>, <filename class="directory">~</filename> or the home directoriy
    9393of any other user already in the system.</para>
    9494
     
    9898the <option>-m</option> parameter, which tells
    9999<command>useradd</command> to create the user's home directory and
    100 copy files from <filename>/etc/skel</filename> (can be overridden) to
     100copy files from <filename class="directory">/etc/skel</filename> (can be overridden) to
    101101the new user's home directory.  For example:</para>
    102102
Note: See TracChangeset for help on using the changeset viewer.