A
A
abp092020-03-04 19:35:15
Command line
abp09, 2020-03-04 19:35:15

How to authorize in the application in the background using a bat file?

Every day, when you log into the virtual machine, you need to launch the kerberos application and give it a login password. I would like to create a batch file and give it a login password and put it on a schedule to speed up the process,
I can run the application, but then I
run it as follows:

"С:\program files\MIT\Kerberos\bin\MIT Kerberos.exe" - i


I thought to prescribe directly for a fool, but I didn’t get the result
"С:\program files\MIT\Kerberos\bin\MIT Kerberos.exe" - i Principal = login Password = password


there is the following help from Kerberos:

'-knit' or '-i' to perform ticket initialization (and exit) 
'-renew' or '-r' to perform ticket renewal (and exit)
'-destroy' or '-d' to perform ticket destruction (and exit) 
'-autoinit'  or '-a' to perform automatic ticket initialization
'-console' or '-c' to attatch a console for debugging 
'-ms2mit' or '-import' or '-m' to perform ticket importation (and exit)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question