Changeset 816fa9f5 for BLFS/xsl


Ignore:
Timestamp:
10/31/2023 05:59:50 PM (8 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
950470d
Parents:
bacbb07
Message:

Fix automatic user password in mit-kerberos

There are two problems:

  • "mypw" is in a dictionary of forbidden passwords
  • "-pw" cannot be after the login name when running "addprinc"

change automatic password to "lupw"
change order of replacement of "loginname"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/process-replaceable.xsl

    rbacbb07 r816fa9f5  
    125125<!-- in this case, even root can be used -->
    126126      <xsl:when test="string()='&lt;loginname&gt;'">
     127        <xsl:if test="contains(preceding-sibling::text()[1],'-policy')">
     128          <xsl:text>-pw lupw </xsl:text>
     129        </xsl:if>
    127130        <xsl:text>$USER</xsl:text>
    128         <xsl:if test="contains(preceding-sibling::text()[1],'-policy')">
    129           <xsl:text> -pw mypw</xsl:text>
    130         </xsl:if>
    131131        <xsl:if test="contains(preceding-sibling::text()[1],'kinit')">
    132132          <xsl:text> &lt;&lt; PASS_EOF
    133 mypw
     133lupw
    134134PASS_EOF
    135135</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.