Changeset a6bba28d for boot/common
- Timestamp:
- Jul 8, 2006, 9:09:05 AM (18 years ago)
- Children:
- 609d2f1
- Parents:
- 4deac5ac
- Location:
- boot/common
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/common/creatingdirs.xml
r4deac5ac ra6bba28d 35 35 36 36 <para os="d">The first mode change ensures that not just anybody can enter 37 the <filename class="directory"> ${CLFS}/root</filename> directory—the37 the <filename class="directory">/root</filename> directory—the 38 38 same as a normal user would do with his or her home directory. The 39 39 second mode change makes sure that any user can write to the 40 <filename class="directory"> ${CLFS}/tmp</filename> and41 <filename class="directory"> ${CLFS}/var/tmp</filename> directories, but40 <filename class="directory">/tmp</filename> and 41 <filename class="directory">/var/tmp</filename> directories, but 42 42 cannot remove another user's files from them. The latter is prohibited 43 43 by the so-called <quote>sticky bit,</quote> the highest bit (1) in the -
boot/common/devices.xml
r4deac5ac ra6bba28d 9 9 <?dbhtml filename="devices.html"?> 10 10 11 <title>Populating ${CLFS}/dev</title>11 <title>Populating /dev</title> 12 12 13 13 <indexterm zone="ch-boot-devices"> 14 <primary sortas="e- ${CLFS}/dev/*">${CLFS}/dev/*</primary>14 <primary sortas="e-/dev/*">/dev/*</primary> 15 15 </indexterm> 16 16 -
boot/common/fstab.xml
r4deac5ac ra6bba28d 9 9 <?dbhtml filename="fstab.html"?> 10 10 11 <title>Creating the ${CLFS}/etc/fstab File</title>11 <title>Creating the /etc/fstab File</title> 12 12 13 13 <indexterm zone="ch-boot-fstab"> 14 <primary sortas="e- ${CLFS}/etc/fstab">${CLFS}/etc/fstab</primary>14 <primary sortas="e-/etc/fstab">/etc/fstab</primary> 15 15 </indexterm> 16 16 17 <para os="a">The <filename> ${CLFS}/etc/fstab</filename> file is used by some17 <para os="a">The <filename>/etc/fstab</filename> file is used by some 18 18 programs to determine where file systems are to be mounted by default, 19 19 which must be checked, and in which order. Create a new file systems -
boot/common/pwdgroup.xml
r4deac5ac ra6bba28d 12 12 13 13 <indexterm zone="ch-boot-pwdgroup"> 14 <primary sortas="e- ${CLFS}/etc/passwd">${CLFS}/etc/passwd</primary>15 </indexterm> 16 17 <indexterm zone="ch-boot-pwdgroup"> 18 <primary sortas="e- ${CLFS}/etc/group">${CLFS}/etc/group</primary>19 </indexterm> 20 21 <indexterm zone="ch-boot-pwdgroup"> 22 <primary sortas="e- ${CLFS}/var/run/utmp">${CLFS}/var/run/utmp</primary>23 </indexterm> 24 25 <indexterm zone="ch-boot-pwdgroup"> 26 <primary sortas="e- ${CLFS}/var/log/btmp">${CLFS}/var/log/btmp</primary>27 </indexterm> 28 29 <indexterm zone="ch-boot-pwdgroup"> 30 <primary sortas="e- ${CLFS}/var/log/lastlog">${CLFS}/var/log/lastlog</primary>31 </indexterm> 32 33 <indexterm zone="ch-boot-pwdgroup"> 34 <primary sortas="e- ${CLFS}/var/log/wtmp">${CLFS}/var/log/wtmp</primary>14 <primary sortas="e-/etc/passwd">/etc/passwd</primary> 15 </indexterm> 16 17 <indexterm zone="ch-boot-pwdgroup"> 18 <primary sortas="e-/etc/group">/etc/group</primary> 19 </indexterm> 20 21 <indexterm zone="ch-boot-pwdgroup"> 22 <primary sortas="e-/var/run/utmp">/var/run/utmp</primary> 23 </indexterm> 24 25 <indexterm zone="ch-boot-pwdgroup"> 26 <primary sortas="e-/var/log/btmp">/var/log/btmp</primary> 27 </indexterm> 28 29 <indexterm zone="ch-boot-pwdgroup"> 30 <primary sortas="e-/var/log/lastlog">/var/log/lastlog</primary> 31 </indexterm> 32 33 <indexterm zone="ch-boot-pwdgroup"> 34 <primary sortas="e-/var/log/wtmp">/var/log/wtmp</primary> 35 35 </indexterm> 36 36 37 37 <para>In order for user <systemitem class="username">root</systemitem> to 38 38 be able to login and for the name <quote>root</quote> to be recognized, 39 there must be relevant entries in the <filename> ${CLFS}/etc/passwd</filename>40 and <filename> ${CLFS}/etc/group</filename> files.</para>39 there must be relevant entries in the <filename>/etc/passwd</filename> 40 and <filename>/etc/group</filename> files.</para> 41 41 42 42 <para>Create the <filename>${CLFS}/etc/passwd</filename> file by running … … 221 221 chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen> 222 222 223 <para>The <filename> ${CLFS}/var/run/utmp</filename> file records the users224 that are currently logged in. The <filename> ${CLFS}/var/log/wtmp</filename>223 <para>The <filename>/var/run/utmp</filename> file records the users 224 that are currently logged in. The <filename>/var/log/wtmp</filename> 225 225 file records all logins and logouts. The 226 <filename> ${CLFS}/var/log/lastlog</filename> file records when227 each user last logged in. The <filename> ${CLFS}/var/log/btmp</filename> file226 <filename>/var/log/lastlog</filename> file records when 227 each user last logged in. The <filename>/var/log/btmp</filename> file 228 228 records the bad login attempts.</para> 229 229 -
boot/common/sysvinit.xml
r4deac5ac ra6bba28d 57 57 58 58 <indexterm zone="conf-tools-sysvinit"> 59 <primary sortas="e- ${CLFS}/etc/inittab">${CLFS}/etc/inittab</primary>59 <primary sortas="e-/etc/inittab">/etc/inittab</primary> 60 60 </indexterm> 61 61
Note:
See TracChangeset
for help on using the changeset viewer.