cmd should be

"kinit -kt %s %s", keytab, user