Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autols Hardcoded User #212

Open
hadoopch opened this issue Mar 18, 2024 · 0 comments
Open

Autols Hardcoded User #212

hadoopch opened this issue Mar 18, 2024 · 0 comments

Comments

@hadoopch
Copy link

Hi,

the autotls role provides two possibilities to configure it:

  1. using user/password
  2. using user/ssh-key/passphrase

the autotls role uses a hardcoded user in roles/cloudera_manager/autotls/templates/auto-tls.json

{
    "customCA" : false,
    "configureAllServices" : "true",
    "sshPort" : 22,
    {% if freeipa_activated %}"trustedCaCerts" : "/etc/ipa/ca.crt",{% endif %}
    "userName" : "root",
    "password": "{{ node_password }}"
} 
    

Something like

 "userName" : "{{ sudoerUser|default("root") }}"  

should be used instead.

Regards

Uli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant