Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
-
None
Description
The JAAS configuration for Knox allows the interactive user's ticket cache to be used to establish the service's identity when starting up. This is problematic and potentially confusing. To prevent this, the JAAS config should be set as follows:
com.sun.security.jgss.initiate { com.sun.security.auth.module.Krb5LoginModule required renewTGT=false doNotPrompt=true useKeyTab=true keyTab="/etc/security/keytabs/knox.service.keytab" principal="knox/c6403.ambari.apache.org@EXAMPLE.COM" storeKey=true useTicketCache=false; };
Note: the keytab file and principal name values need to be set based on the relevant Kerberos configuration.
Attachments
Attachments
Issue Links
- links to