jhalfs git · trunk
jhalfs LFS build automation (mirror)
Python 78.4% Shell 19.8% Makefile 1.8%git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gzFix 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"
BLFS/xsl/process-replaceable.xsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BLFS/xsl/process-replaceable.xsl b/BLFS/xsl/process-replaceable.xsl index ac48074..194feac 100644 --- a/BLFS/xsl/process-replaceable.xsl +++ b/BLFS/xsl/process-replaceable.xsl @@ -124,13 +124,13 @@ </xsl:when> <!-- in this case, even root can be used --> <xsl:when test="string()='<loginname>'"> - <xsl:text>$USER</xsl:text> <xsl:if test="contains(preceding-sibling::text()[1],'-policy')"> - <xsl:text> -pw mypw</xsl:text> + <xsl:text>-pw lupw </xsl:text> </xsl:if> + <xsl:text>$USER</xsl:text> <xsl:if test="contains(preceding-sibling::text()[1],'kinit')"> <xsl:text> << PASS_EOF -mypw +lupw PASS_EOF </xsl:text> </xsl:if>