[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh-askpass | kinit

Brian May <bam@snoopy.apana.org.au> writes:

> Hello,
> Has anybody considered making it possible for kinit to get a password
> from ssh-askpass?
> That way it would be simple to have a graphical front end for the
> password prompt. e.g. with
> ssh-askpass "kerberos password" | kinit
> Unfortunately, kinit appears to bypass STDIN/STDOUT and read/write
> directly to/from /dev/tty.

In current heimdal there is an option --password-file that will read the
password from file, using the filename STDIN will read from stdin.

$ kinit --help 2>&1 | grep ^--password-file
--password-file=string                    read the password from a file


PGP signature