-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from bendylan/master
- Loading branch information
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,13 @@ | |
### Setting up password-less kerberos token | ||
|
||
In order for the kerberos token to be refreshed automatically, it must be possible to do so without a password. | ||
Therefore, we create a keytab (similar to a private ssh key) on lxplus using the keytab utility. | ||
Therefore, we create a keytab (similar to a private ssh key) on lxplus using the provided `cern-get-keytab` utility. Note it will prompt for your password, in order to generate the keytab. | ||
|
||
{% callout "The old way" %} | ||
|
||
The former recipe was to start `ktutil`, then type the following three lines into the prompt and confirm the first two steps with your password. | ||
```bash | ||
add_entry -password -p [email protected] -k 1 -e arcfour-hmac-md5 | ||
add_entry -password -p [email protected] -k 1 -e aes256-cts | ||
wkt USERNAME.keytab | ||
cern-get-keytab --user USERNAME --keytab USERNAME.keytab | ||
``` | ||
and close the `ktutil` prompt with `Ctrl+D`. | ||
This would create a file called USERNAME.keytab in the current directory. | ||
|