[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to kinit without entering password from keyboard?
Without answering your question directly, another approach is to
store the password in a keytab and use "kinit -k".
-- Luke
>From: Sujeevan Rasaratnam <sujeevan.rasaratnam@alcatel.com>
>Subject: how to kinit without entering password from keyboard?
>To: heimdal-discuss@sics.se
>Date: Fri, 14 Nov 2003 09:47:31 -0500
>
>Is it posible to pass the password in the command line (not from a
>keyboard). I'm making a perl script, it should call the "system"
>function to execute the command to authenticate a principal. I tried
>"echo my_passsword | kinit -f my_principal" and "kinit -f my_principal <
>my_password_in_a_file.txt", they dont work.
>heimdal 0.4e
>redhat9 (x86)
>
>Thanks
>
>--
>Sujeevan Rasaratnam
>Alcatel Canada - R&I - Security group
>600 March Road - Kanata, ON, Canada K2K 2E6
>Phone: +1 613 784 3276 Fax: +1 613 784 8944
>http://aww.alcatel.com/ri/SEC
>
>