[jhalfs] 02/02: Add password settings for krb5

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch ablfs-more
in repository jhalfs.

commit b39f283e3d5de90f3e1e12bda88c3f5f49be2c5e
Author: Pierre Labastie <[email protected]>
AuthorDate: Sun Sep 17 09:31:57 2023 +0200

    Add password settings for krb5
    
    This is a workaround for instructions that would wait forever
    for a password (or timeout) in krb5. But it sets very simple
    passwords, that should be changed afterwards.
---
 BLFS/xsl/process-replaceable.xsl | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/BLFS/xsl/process-replaceable.xsl b/BLFS/xsl/process-replaceable.xsl
index ca61b60..ac48074 100644
--- a/BLFS/xsl/process-replaceable.xsl
+++ b/BLFS/xsl/process-replaceable.xsl
@@ -112,6 +112,9 @@
 <!-- for MIT-Kerberos config file -->
       <xsl:when test="string()='&lt;EXAMPLE.ORG&gt;'">
         <xsl:copy-of select="$DOMAINNAME"/>
+        <xsl:if test="contains(preceding-sibling::text()[1],'kdb5_util')">
+          <xsl:text> -P rtpw </xsl:text>
+        </xsl:if>
       </xsl:when>
       <xsl:when test="string()='&lt;example.org&gt;'">
         <xsl:copy-of select="$domainname"/>
@@ -122,6 +125,15 @@
 <!-- in this case, even root can be used -->
       <xsl:when test="string()='&lt;loginname&gt;'">
         <xsl:text>$USER</xsl:text>
+        <xsl:if test="contains(preceding-sibling::text()[1],'-policy')">
+          <xsl:text> -pw mypw</xsl:text>
+        </xsl:if>
+        <xsl:if test="contains(preceding-sibling::text()[1],'kinit')">
+          <xsl:text> &lt;&lt; PASS_EOF
+mypw
+PASS_EOF
+</xsl:text>
+        </xsl:if>
       </xsl:when>
 <!-- for xorg environment. Note that libreoffice too uses &lt;PREFIX&gt; -->
       <xsl:when test="string()='&lt;PREFIX&gt;' and

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.