What's wrong with the following:
#! /usr/bin/expect -f spawn /usr/bin/kinit u...@domain.com expect "?COM:" send "password\r" The password never seems to get sent, but diags from -d switch indicate that the expect string did match.
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org