Ticket #3406: roleisroot.patch
File roleisroot.patch, 2.3 KB (added by , 12 years ago) |
---|
-
postlfs/config/lsb-release.xml
72 72 73 73 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 74 74 75 <screen ><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1/lsb_release.1 &&75 <screen role="root"><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1/lsb_release.1 && 76 76 install -v -m 755 lsb_release /usr/bin/lsb_release</userinput></screen> 77 77 78 78 </sect2> -
postlfs/security/cacerts.xml
74 74 form needed by <application>openssl</application>. As the <systemitem 75 75 class="username">root</systemitem> user:</para> 76 76 77 <screen ><userinput>cat > /bin/make-cert.pl << "EOF"77 <screen role="root"><userinput>cat > /bin/make-cert.pl << "EOF" 78 78 #!/usr/bin/perl -w 79 79 80 80 # Used to generate PEM encoded files from Mozilla certdata.txt. … … 134 134 create this script as the <systemitem class="username">root</systemitem> 135 135 user:</para> 136 136 137 <screen ><userinput>cat > /bin/make-ca.sh << "EOF"137 <screen role="root"><userinput>cat > /bin/make-ca.sh << "EOF" 138 138 #!/bin/bash 139 139 # Begin make-ca.sh 140 140 # Script to populate OpenSSL's CApath from a bundle of PEM formatted CAs … … 238 238 Again create this script as the <systemitem 239 239 class="username">root</systemitem> user:</para> 240 240 241 <screen ><userinput>cat > /bin/remove-expired-certs.sh << "EOF"241 <screen role="root"><userinput>cat > /bin/remove-expired-certs.sh << "EOF" 242 242 #!/bin/bash 243 243 # Begin /bin/remove-expired-certs.sh 244 244 # … … 313 313 314 314 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 315 315 316 <screen ><userinput>SSLDIR=/etc/ssl &&316 <screen role="root"><userinput>SSLDIR=/etc/ssl && 317 317 install -d ${SSLDIR}/certs && 318 318 cp -v certs/*.pem ${SSLDIR}/certs && 319 319 c_rehash &&