Ticket #3406: roleisroot.patch

File roleisroot.patch, 2.3 KB (added by Pierre Labastie, 12 years ago)
  • postlfs/config/lsb-release.xml

     
    7272
    7373     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    7474
    75 <screen><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1/lsb_release.1 &amp;&amp;
     75<screen role="root"><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1/lsb_release.1 &amp;&amp;
    7676install -v -m 755 lsb_release /usr/bin/lsb_release</userinput></screen>
    7777
    7878  </sect2>
  • postlfs/security/cacerts.xml

     
    7474    form needed by <application>openssl</application>.  As the <systemitem
    7575    class="username">root</systemitem> user:</para>
    7676
    77   <screen><userinput>cat > /bin/make-cert.pl &lt;&lt; "EOF"
     77  <screen role="root"><userinput>cat > /bin/make-cert.pl &lt;&lt; "EOF"
    7878#!/usr/bin/perl -w
    7979
    8080# Used to generate PEM encoded files from Mozilla certdata.txt.
     
    134134   create this script as the <systemitem class="username">root</systemitem>
    135135   user:</para>
    136136
    137    <screen><userinput>cat > /bin/make-ca.sh &lt;&lt; "EOF"
     137   <screen role="root"><userinput>cat > /bin/make-ca.sh &lt;&lt; "EOF"
    138138#!/bin/bash
    139139# Begin make-ca.sh
    140140# Script to populate OpenSSL's CApath from a bundle of PEM formatted CAs
     
    238238   Again create this script as the <systemitem
    239239   class="username">root</systemitem> user:</para>
    240240
    241   <screen><userinput>cat > /bin/remove-expired-certs.sh &lt;&lt; "EOF"
     241  <screen role="root"><userinput>cat > /bin/remove-expired-certs.sh &lt;&lt; "EOF"
    242242#!/bin/bash
    243243# Begin /bin/remove-expired-certs.sh
    244244#
     
    313313
    314314   <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    315315
    316 <screen><userinput>SSLDIR=/etc/ssl                                     &amp;&amp;
     316<screen role="root"><userinput>SSLDIR=/etc/ssl                                     &amp;&amp;
    317317install -d ${SSLDIR}/certs                          &amp;&amp;
    318318cp -v certs/*.pem ${SSLDIR}/certs                   &amp;&amp;
    319319c_rehash                                            &amp;&amp;