We sometimes use this:
kinit -kt /etc/security/keytabs/hdfs.headless.keytab hdfs
If we want to do stuff as the hdfs user.
HTH
/tony
On 2018-06-26 12:33, Bret Wortman via FreeIPA-users wrote:
What's the correct way to create a user keytab? I had done this
once
about 3 years ago and got it working, but can't find my notes anywhere.
I need to be able to do this in a script:
kinit -k admin -t /root/keytab
I've tried various approaches using ktutil and kadmin but haven't had
any success just yet.
--
photo
*Bret Wortman*
Founder, Damascus Products, LLC
855-644-2783 <tel:855-644-2783> | bret(a)wrapbuddies.co
<mailto:bret@wrapbuddies.co>
http://wrapbuddies.co/
10332 Main St Suite 319 Fairfax, VA 22030
<
http://facebook.com/wrapbuddiesco>
<
http://www.linkedin.com/in/bretwortman>
<
http://twitter.com/wrapbuddiesco>
<
http://instagram.com/wrapbuddies>
_______________________________________________
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/freeipa-users@lists.fedorah...
--
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316