-
Notifications
You must be signed in to change notification settings - Fork 28
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
Authinfo #46
Authinfo #46
Conversation
This change will make sure that no passwords and other credential information is visible in the process information while installing via winexe.
Make sure that authinfo is always deleted, remove tmpdir on succesfull installation.
This change will make sure that no passwords and other credential information is visible in the process information while installing via winexe.
Looks awesome. Two questions:
|
Renamed logfile to install.log Error messages now reference the install log when they fail.
Skips actual installation and just does a connection test.
Now the following variables can be set through environment DOMAIN DOMAIN_USER DOMAIN_PASSWORD
@pall-valmundsson fixed in 22ff0c3 |
Logging to /var/log/okconfig and logrotation Support for -A <authfile> Removed tempdir and use mktemp only for authfiles
@pall-valmundsson Sorry about the hugeness of a94b26a, it should alleviate the issues about exiting on one failed host. But it does a few things as well. I'm merging this pull request to get it available in the ok-testing repository. What I have tested in my environment deployment to:
Any testers would be highly appreciated and can then use the rpm from ok-testing or from source. |
Authinfo and logging improvements, mostly to remove exposure of password in command line.
domain=${DOMAIN} | ||
EO | ||
else | ||
DOMAIN=$(grep -i ^domain ${USER_AUTHFILE} |awk -F" = " '{print $2}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the awk delimiter be "="
? This one requires whitespace around =
.
Otherwise it looks pretty good, I'm currently using a locally hacked version of an old version of install_nsclient.sh. I'll test this one soon. |
authentication files can have spaces in them between key and value but I'm making the assumption that the DOMAIN never has so I remove all spaces from DOMAIN
This change will make sure that no passwords and other credential information is visible in the process information while installing via winexe.