I want to create a script that will generate keytab using ktutil. When running the script, I want to use [user] $ script.sh PASSWORD
#script.sh echo "addent -password -p PRINCIPAL -k 1 -e aes256-cts-hmac-sha1-96" | ktutil
Ktutil, why do I need a password, here I want to use the PASSWORD argument above. How can I pass the password check?
bash passwords pipe kerberos keytab
Origamiye
source share