Changeset 026bb5d for BOOK/final-system/common/sysvinit.xml
- Timestamp:
- Dec 18, 2013, 1:04:00 AM (11 years ago)
- Children:
- f975b3a
- Parents:
- 1c9985f (diff), 8abef998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/sysvinit.xml
r1c9985f r026bb5d 25 25 <title>Installation of Sysvinit</title> 26 26 27 <para os="c">Compile the package:</para> 27 <para os ="a">Apply a sed which disables last, mesg, mountpoint, sulogin, 28 utmpdump, and wall from being built and installed as they are provided by 29 Util-linux:</para> 30 31 <screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \ 32 -e '/utmpdump/d' -e '/mountpoint/d' -e '/mesg/d' src/Makefile</userinput></screen> 33 34 <para os ="c">Compile the package:</para> 28 35 29 36 <screen os="d"><userinput>make -C src clobber … … 76 83 77 84 <screen><userinput>cat >> /etc/inittab << "EOF" 78 <literal>1:2345:respawn:/sbin/agetty - I '\033(K' tty1 960079 2:2345:respawn:/sbin/agetty - I '\033(K' tty2 960080 3:2345:respawn:/sbin/agetty - I '\033(K' tty3 960081 4:2345:respawn:/sbin/agetty - I '\033(K' tty4 960082 5:2345:respawn:/sbin/agetty - I '\033(K' tty5 960083 6:2345:respawn:/sbin/agetty - I '\033(K' tty6 960085 <literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600 86 2:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600 87 3:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600 88 4:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600 89 5:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600 90 6:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600 84 91 </literal> 85 92 EOF</userinput></screen> … … 89 96 90 97 <screen><userinput>cat >> /etc/inittab << "EOF" 91 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt10098 <literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100 92 99 </literal> 93 100 EOF</userinput></screen> … … 118 125 119 126 <seglistitem> 120 <seg>bootlogd, halt, init, killall5, last, lastb (link to last), mesg, 121 mountpoint, pidof (link to killall5), poweroff (link to halt), 122 reboot (link to halt), runlevel, shutdown, sulogin, 123 telinit (link to init), utmpdump, and wall</seg> 127 <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to 128 killall5), poweroff (link to halt), reboot (link to halt), runlevel, 129 shutdown, and telinit (link to init)</seg> 124 130 </seglistitem> 125 131 </segmentedlist> … … 136 142 <indexterm zone="ch-system-sysvinit bootlogd"> 137 143 <primary sortas="b-bootlogd">bootlogd</primary> 144 </indexterm> 145 </listitem> 146 </varlistentry> 147 148 <varlistentry id="fstab-decode"> 149 <term><command>fstab-decode</command></term> 150 <listitem> 151 <para>Runs a command with fstab-encoded arguments</para> 152 <indexterm zone="ch-system-sysvinit fstab-decode"> 153 <primary sortas="b-fstab-decode">fstab-decode</primary> 138 154 </indexterm> 139 155 </listitem> … … 178 194 </varlistentry> 179 195 180 <varlistentry id="last">181 <term><command>last</command></term>182 <listitem>183 <para>Shows which users last logged in (and out), searching back184 through the <filename>/var/log/wtmp</filename> file; it also shows185 system boots, shutdowns, and run-level changes</para>186 <indexterm zone="ch-system-sysvinit last">187 <primary sortas="b-last">last</primary>188 </indexterm>189 </listitem>190 </varlistentry>191 192 <varlistentry id="lastb">193 <term><command>lastb</command></term>194 <listitem>195 <para>Shows the failed login attempts, as logged in196 <filename>/var/log/btmp</filename></para>197 <indexterm zone="ch-system-sysvinit lastb">198 <primary sortas="b-lastb">lastb</primary>199 </indexterm>200 </listitem>201 </varlistentry>202 203 <varlistentry id="mesg">204 <term><command>mesg</command></term>205 <listitem>206 <para>Controls whether other users can send messages to the current207 user's terminal</para>208 <indexterm zone="ch-system-sysvinit mesg">209 <primary sortas="b-mesg">mesg</primary>210 </indexterm>211 </listitem>212 </varlistentry>213 214 <varlistentry id="mountpoint">215 <term><command>mountpoint</command></term>216 <listitem>217 <para>Tells you whether or not a directory is a mount point.</para>218 <indexterm zone="ch-system-sysvinit mountpoint">219 <primary sortas="b-mountpoint">mountpoint</primary>220 </indexterm>221 </listitem>222 </varlistentry>223 224 196 <varlistentry id="pidof"> 225 197 <term><command>pidof</command></term> … … 276 248 </varlistentry> 277 249 278 <varlistentry id="sulogin">279 <term><command>sulogin</command></term>280 <listitem>281 <para>Allows <emphasis>root</emphasis> to log in; it is normally282 invoked by <command>init</command> when the system goes into single283 user mode</para>284 <indexterm zone="ch-system-sysvinit sulogin">285 <primary sortas="b-sulogin">sulogin</primary>286 </indexterm>287 </listitem>288 </varlistentry>289 290 250 <varlistentry id="telinit"> 291 251 <term><command>telinit</command></term> … … 298 258 </varlistentry> 299 259 300 <varlistentry id="utmpdump">301 <term><command>utmpdump</command></term>302 <listitem>303 <para>Displays the content of the given login file in a more304 user-friendly format</para>305 <indexterm zone="ch-system-sysvinit utmpdump">306 <primary sortas="b-utmpdump">utmpdump</primary>307 </indexterm>308 </listitem>309 </varlistentry>310 311 <varlistentry id="wall">312 <term><command>wall</command></term>313 <listitem>314 <para>Writes a message to all logged-in users</para>315 <indexterm zone="ch-system-sysvinit wall">316 <primary sortas="b-wall">wall</primary>317 </indexterm>318 </listitem>319 </varlistentry>320 321 260 </variablelist> 322 261
Note:
See TracChangeset
for help on using the changeset viewer.