[jhalfs] 01/04: Fix automatic user password in mit-kerberos
| 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 816fa9f5cea53092ae9441ac8f3cc57a45e8ff8f Author: Pierre Labastie <[email protected]> AuthorDate: Tue Oct 31 18:59:50 2023 +0100 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" --- 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> -- 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