Changeset 305e60de
- Timestamp:
- 01/27/2005 03:26:52 AM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 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, ken/inkscape-core-mods, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- 852cd813
- Parents:
- 48ecffe8
- Location:
- postlfs/security
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/cyrus-sasl.xml
r48ecffe8 r305e60de 83 83 --with-dbpath=/var/lib/sasl/sasldb2 \ 84 84 --with-saslauthd=/var/run && 85 make && 86 make install && 85 make</command></userinput></screen> 86 87 <para>Now, as the root user:</para> 88 89 <screen><userinput role='root'><command>make install && 87 90 install -m644 saslauthd/saslauthd.mdoc \ 88 91 /usr/share/man/man8/saslauthd.8 && … … 147 150 </indexterm> 148 151 149 <screen><userinput ><command>make install-cyrus-sasl</command></userinput></screen>152 <screen><userinput role='root'><command>make install-cyrus-sasl</command></userinput></screen> 150 153 151 154 <note><para>You'll need to modify the init script and replace the -
postlfs/security/gnupg.xml
r48ecffe8 r305e60de 54 54 <sect3><title><application>GnuPG</application> dependencies</title> 55 55 <sect4><title>Optional</title> 56 <para><xref linkend="openldap"/>, <ulink url="../server/mail.html">MTA</ulink>, 56 <para><xref linkend="openldap"/>, 57 <ulink url="../server/mail.html">MTA</ulink>, 57 58 <xref linkend="docbook-utils"/> and <ulink 58 59 url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink> … … 69 70 70 71 <screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib && 71 make && 72 make install && 72 make</command></userinput></screen> 73 74 <para>Now, as the root user:</para> 75 76 <screen><userinput role='root'><command>make install && 73 77 chmod 4755 /usr/bin/gpg</command></userinput></screen> 74 78 … … 96 100 <seglistitem> 97 101 <seg>gpg, gpgsplit and gpgv</seg> 98 <seg>/usr/lib/g unpg and /usr/share/gnupg</seg>102 <seg>/usr/lib/gnupg and /usr/share/gnupg</seg> 99 103 </seglistitem> 100 104 </segmentedlist> -
postlfs/security/mitkrb.xml
r48ecffe8 r305e60de 103 103 </para> 104 104 105 <screen><userinput ><command>make install &&105 <screen><userinput role='root'><command>make install && 106 106 mv /bin/login /bin/login.shadow && 107 107 cp /usr/sbin/login.krb5 /bin/login && … … 179 179 </para> 180 180 181 <screen><userinput ><command>cat > /etc/krb5.conf << "EOF"</command>181 <screen><userinput role='root'><command>cat > /etc/krb5.conf << "EOF"</command> 182 182 # Begin /etc/krb5.conf 183 183 … … 235 235 </para> 236 236 237 <screen><userinput ><command>kdb5_util create -r <replaceable>[LFS.ORG]</replaceable> -s </command></userinput></screen>237 <screen><userinput role='root'><command>kdb5_util create -r <replaceable>[LFS.ORG]</replaceable> -s </command></userinput></screen> 238 238 239 239 <para> … … 242 242 </para> 243 243 244 <screen><userinput ><command>kadmin.local</command></userinput>244 <screen><userinput role='root'><command>kadmin.local</command></userinput> 245 245 <prompt>kadmin:</prompt><userinput><command>addprinc <replaceable>[loginname]</replaceable></command></userinput></screen> 246 246 … … 250 250 </para> 251 251 252 <screen><prompt>kadmin:</prompt><userinput ><command>addprinc -randkey host/<replaceable>[belgarath.lfs.org]</replaceable></command></userinput></screen>252 <screen><prompt>kadmin:</prompt><userinput role='root'><command>addprinc -randkey host/<replaceable>[belgarath.lfs.org]</replaceable></command></userinput></screen> 253 253 254 254 <para> … … 257 257 </para> 258 258 259 <screen><prompt>kadmin:</prompt><userinput ><command>ktadd host/<replaceable>[belgarath.lfs.org]</replaceable></command></userinput></screen>259 <screen><prompt>kadmin:</prompt><userinput role='root'><command>ktadd host/<replaceable>[belgarath.lfs.org]</replaceable></command></userinput></screen> 260 260 261 261 <para> … … 272 272 </para> 273 273 274 <screen><prompt>kadmin:</prompt><userinput ><command>addprinc -randkey ftp/<replaceable>[belgarath.lfs.org]</replaceable></command></userinput>275 <prompt>kadmin:</prompt><userinput ><command>ktadd ftp/<replaceable>[belgarath.lfs.org]</replaceable></command></userinput></screen>274 <screen><prompt>kadmin:</prompt><userinput role='root'><command>addprinc -randkey ftp/<replaceable>[belgarath.lfs.org]</replaceable></command></userinput> 275 <prompt>kadmin:</prompt><userinput role='root'><command>ktadd ftp/<replaceable>[belgarath.lfs.org]</replaceable></command></userinput></screen> 276 276 277 277 <para> … … 282 282 </para> 283 283 284 <screen><userinput ><command>/usr/sbin/krb5kdc &</command></userinput></screen>284 <screen><userinput role='root'><command>/usr/sbin/krb5kdc &</command></userinput></screen> 285 285 286 286 <para> … … 325 325 </para> 326 326 327 <screen><userinput ><command>make install-kerberos</command></userinput></screen>327 <screen><userinput role='root'><command>make install-kerberos</command></userinput></screen> 328 328 329 329 </sect4> -
postlfs/security/stunnel.xml
r48ecffe8 r305e60de 68 68 <command>chroot</command> jail by an unprivileged user. Create the new user, 69 69 group and <command>chroot</command> home directory structure using the 70 following commands :</para>71 72 <screen><userinput ><command>groupadd stunnel &&70 following commands as the root user:</para> 71 72 <screen><userinput role='root'><command>groupadd stunnel && 73 73 useradd -c "Stunnel Daemon" -d /var/lib/stunnel \ 74 74 -g stunnel -s /bin/false stunnel && … … 94 94 <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \ 95 95 --localstatedir=/var/lib/stunnel && 96 make && 97 make install</command></userinput></screen> 96 make</command></userinput></screen> 97 98 <para>Now, as the root user:</para> 99 100 <screen><userinput role='root'><command>make install</command></userinput></screen> 98 101 99 102 </sect2> … … 138 141 configuration file using the following commands:</para> 139 142 140 <screen><userinput ><command>cat >/etc/stunnel/stunnel.conf << "EOF"</command>143 <screen><userinput role='root'><command>cat >/etc/stunnel/stunnel.conf << "EOF"</command> 141 144 # File: /etc/stunnel/stunnel.conf 142 145 … … 152 155 configuration file. The format is as follows:</para> 153 156 154 <screen><userinput >[<replaceable>[service]</replaceable>]157 <screen><userinput role='root'>[<replaceable>[service]</replaceable>] 155 158 accept = <replaceable>[hostname:portnumber]</replaceable> 156 159 connect = <replaceable>[hostname:portnumber]</replaceable></userinput></screen> … … 176 179 <primary sortas="f-stunnel.init">stunnel</primary></indexterm> 177 180 178 <screen><userinput ><command>make install-stunnel</command></userinput></screen>181 <screen><userinput role='root'><command>make install-stunnel</command></userinput></screen> 179 182 </sect3> 180 183 -
postlfs/security/tripwire.xml
r48ecffe8 r305e60de 19 19 <?dbhtml filename="tripwire.html"?> 20 20 <title>Tripwire-&tripwire-version;</title> 21 <indexterm zone="tripwire-portable"> 22 <primary sortas="a-Tripwire">Tripwire</primary> 23 </indexterm> 21 24 22 25 <sect2> … … 41 44 <sect3><title><application>Tripwire</application> dependencies</title> 42 45 <sect4><title>Optional</title> 43 <para><acronym>MTA</acronym> (See <xref linkend="server-mail"/>)</para></sect4> 46 <para><acronym>MTA</acronym> (See <xref linkend="server-mail"/>)</para> 47 </sect4> 44 48 </sect3> 45 49 … … 54 58 <screen><userinput><command>sed -i -e 's@TWDB="${prefix}@TWDB="/var@' install/install.cfg && 55 59 ./configure --prefix=/usr --sysconfdir=/etc/tripwire && 56 make && 57 make install && 60 make</command></userinput></screen> 61 62 <para>Now, as the root user:</para> 63 64 <screen><userinput role='root'><command>make install && 58 65 cp policy/*.txt /usr/share/doc/tripwire</command></userinput></screen> 59 66 … … 86 93 <title>Configuring <application>Tripwire</application></title> 87 94 88 <sect3 ><title>Config files</title>95 <sect3 id="tripwire-config"><title>Config files</title> 89 96 <para><filename>/etc/tripwire/*</filename></para> 97 <indexterm zone="tripwire-portable tripwire-config"> 98 <primary sortas="e-etc-tripwire">/etc/tripwire/*</primary> 99 </indexterm> 90 100 </sect3> 91 101 … … 120 130 configuration steps:</para> 121 131 122 <screen><userinput ><command>twadmin --create-polfile --site-keyfile /etc/tripwire/site.key \132 <screen><userinput role='root'><command>twadmin --create-polfile --site-keyfile /etc/tripwire/site.key \ 123 133 /etc/tripwire/twpol.txt && 124 134 tripwire --init</command></userinput></screen> … … 130 140 to run a report, use the following command:</para> 131 141 132 <screen><userinput ><command>tripwire --check > /etc/tripwire/report.txt</command></userinput></screen>142 <screen><userinput role='root'><command>tripwire --check > /etc/tripwire/report.txt</command></userinput></screen> 133 143 134 144 <para>View the output to check the integrity of your files. An automatic … … 149 159 substitutions for <replaceable>[?]</replaceable>:</para> 150 160 151 <screen><userinput ><command>tripwire --update -twrfile \161 <screen><userinput role='root'><command>tripwire --update -twrfile \ 152 162 /var/lib/tripwire/report/linux-<replaceable>[???????]</replaceable>-<replaceable>[??????]</replaceable>.twr</command></userinput></screen> 153 163 … … 166 176 commands:</para> 167 177 168 <screen><userinput ><command>twadmin --create-polfile /etc/tripwire/twpol.txt &&178 <screen><userinput role='root'><command>twadmin --create-polfile /etc/tripwire/twpol.txt && 169 179 tripwire --init</command></userinput></screen> 170 171 180 </sect3> 172 181 … … 177 186 <segmentedlist> 178 187 <segtitle>Installed Programs</segtitle> 188 <segtitle>Installed Directories</segtitle> 179 189 <seglistitem> 180 190 <seg>siggen, tripwire, twadmin and twprint.</seg> 191 <seg>/etc/tripwire, /usr/share/doc/tripwire and /var/lib/tripwire</seg> 181 192 </seglistitem> 182 193 </segmentedlist> … … 190 201 <listitem><para>is a signature gathering utility that displays 191 202 the hash function values for the specified files.</para> 203 <indexterm zone="tripwire-portable siggen"> 204 <primary sortas="b-siggen">siggen</primary> 205 </indexterm> 192 206 </listitem> 193 207 </varlistentry> … … 195 209 <varlistentry id='tripwire'> 196 210 <term><command>tripwire</command></term> 197 <listitem><para>is the main file integrity checking program.</para></listitem> 211 <listitem><para>is the main file integrity checking program.</para> 212 <indexterm zone="tripwire-portable tripwire"> 213 <primary sortas="b-tripwire">tripwire</primary> 214 </indexterm> 215 </listitem> 198 216 </varlistentry> 199 217 … … 202 220 <listitem><para>administrative and utility tool used to perform 203 221 certain administrative functions related to 204 <application>Tripwire</application> files and configuration options.</para> 222 <application>Tripwire</application> files and configuration 223 options.</para> 224 <indexterm zone="tripwire-portable twadmin"> 225 <primary sortas="b-twadmin">twadmin</primary> 226 </indexterm> 205 227 </listitem> 206 228 </varlistentry> … … 210 232 <listitem><para>prints <application>Tripwire</application> 211 233 database and report files in clear text format.</para> 234 <indexterm zone="tripwire-portable twprint"> 235 <primary sortas="b-twprint">twprint</primary> 236 </indexterm> 212 237 </listitem> 213 238 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.