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

Passwords are shown in the output in case of a failure for a server or client install #9

Open
lofic opened this issue Oct 24, 2018 · 1 comment

Comments

@lofic
Copy link

lofic commented Oct 24, 2018

The command in

exec { "client_install_${::fqdn}":
command   => $client_install_cmd,

is shown. Including principal and password.

logoutput is not helping here because this is the input, not the output.

@mattock
Copy link
Member

mattock commented Aug 9, 2022

I think the only way around this is to avoid passing a password in the first place. There are other ways to join a node to FreeIPA I recall, but I think those were more orchestration-oriented ("do something on IPA server, then do something on the node to join"). This could be fairly easily handled by a Puppet Bolt plan.

What we've done sometimes is limit the privileges of the user used to enroll new hosts:

This seems to work and is better security-vise, even if not perfect.

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

No branches or pull requests

2 participants