[16395] in Kerberos-V5-bugs
[krbdev.mit.edu #8853] cpw -pw user
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Thu Nov 28 14:04:21 2019
From: "Greg Hudson via RT" <rt@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <0949c6ff093c750af447cf6b7257f7e799f9026e.camel@aegee.org>
Message-ID: <rt-4.4.4-123363-1574967853-1612.8853-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #8853":;
Date: Thu, 28 Nov 2019 14:04:13 -0500
MIME-Version: 1.0
Reply-To: rt@KRBDEV-PROD-APP-1.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8853 >
Within a kadmin.local prompt, the only way to include spaces in an argument is
to use a double-quoted string: cpw -pw "space in the password" user
Double quotes can be included in such a password by repeating them: cpw -pw
"spaces and ""quotes"" in the password" user
Starting with release 1.14, you can also specify a command on the kadmin.local
command line, and let the shell separate arguments: kadmin.local cpw -pw 'space
in the password' user
The kadmin man page doesn't appear to document quoted arguments (other than the
command-line option I mentioned last), so I'll leave this ticket open and
change its subject to indicate that the documentation should be amended.
ktutil uses the same library as kadmin to handle argument parsing, and also
needs its man page amended.
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs