Subject: Re: ssh windows clients & traveling
To: Bill Studenmund <skippy@macro.stanford.edu>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: port-mac68k
Date: 09/12/1997 17:00:39
>1) Use S/Key to log into an i386 I have running NetBSD, and then run a
>program to generate a kerberos ticket w/o typing in the password. Then
>log into other servers. (I don't mind people seeing the EMail, just the
>password)
>
>I tried a simple shell program,
>
>#!/bin/sh
>echo "my kerberos passwd" | kinit wrstuden
>
>but it still went to the command line for input. Can I get kinit to take
>piped input?
kinit reads from /dev/tty for your password. You'll need to get
around that with something like expect or the "pty" program (I don't
know where to get pty, though). Or you could just hack on kinit :-)
--Ken