kinit -k on boot

Dameon Wagner dameon.wagner at it.ox.ac.uk
Tue Sep 16 07:29:53 EDT 2014


On Tue, Sep 16 2014 at 11:25:50 +0200, Günther J. Niederwimmer scribbled
 in "kinit -k on boot":
> Hello,
> 
> can any help with the new Problem with kinit -k host/....
> 
> on my "old" server i have a cron job with
> @reboot root /..../sleep 60 && /usr/bin/kinit -k host/......
> 
> but i mean the extra character "@reboot" is not longer working with
> systemd ?
> 
> what is the new way to become a kerberos key.
> 
> Thanks for a answer, 

I didn't know that systemd was also stamping all over cron like that,
thanks for the tip.

The way I have this sort of thing set up is to use k5start [0] running
either under supervisord or daemontools, but could be done using
rc.local or similar (but without the resilience you'd gain from
process supervision).

Cheers.

Dameon.

[0]: http://www.eyrie.org/~eagle/software/kstart/

-- 
><> ><> ><> ><> ><> ><> ooOoo <>< <>< <>< <>< <>< <><
Dr. Dameon Wagner, Systems Development and Support
IT Services, University of Oxford
><> ><> ><> ><> ><> ><> ooOoo <>< <>< <>< <>< <>< <><



More information about the Kerberos mailing list