[6353] in Kerberos

home help back first fref pref prev next nref lref last post

Kinit from cron script

daemon@ATHENA.MIT.EDU (Andy Reid)
Wed Dec 13 03:44:17 1995

To: kerberos@MIT.EDU
Date: 13 Dec 1995 08:05:17 GMT
From: uhaa007@sun.rhbnc.ac.uk (Andy Reid)

This is probably a dumb question, but I'm no Unix guru.....

I have a need to execute kinit from a cron script and I can't find a 
way of passing a password to it. If I run the script taking input from
standard input I get prompted for the password which, when entered, works.
If I try to get kinit to take input from the script, or a file, then I always
get a message saying "incorrect password".

How can I do this please?

Many thanks

Andy Reid
RHUL


home help back first fref pref prev next nref lref last post