[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to kinit without entering password from keyboard?



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