k5start is a modified version of kinit which can use keytabs to authenticate, can run as a daemon and wake up periodically to refresh a ticket, and can run single commands with its own authentication credentials and refresh those credentials until the command exits.