[OpenAFS] AFS version of sudo for admin ?
Fri, 17 Dec 2010 09:51:06 -0500
On Fri, Dec 17, 2010 at 08:29:41AM -0600, John Tang Boyland wrote:
> Does anyone know of a "sudo" like command for AFS admin commands?
> admindo vos release pkg.foo
> It would be nice, but not essential to have the token stick around
> for 5 minutes in case you need to do another admindo soon afterwards.
Whenever the question "Is there some utility to do some
small afs/kerberos function", your first response should
be "I bet Russ has already written it":
Maybe not exactly what you want, but close. Otherwise,
a small script which creates a distinct pag and kerberos
credentials cache, prompts for those credentials, and
then executes the command supplied should do at least
the first half. The second optional half, keeping those
credentials around for five minutes, is more difficult.
Thomas L. Kula | firstname.lastname@example.org | http://kula.tproa.net/