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

Idea: prompt user for login information if no shell variables given #1

Closed
stdevel opened this Issue May 10, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@stdevel
Owner

stdevel commented May 10, 2014

Red Hat Portal user "Remmele" had the idea to prompt the user for login information: https://access.redhat.com/site/discussions/874773

Passing the login information using shell variables can be a security problem unless you're dropping shell history support for your command:

HISTFILE="" SATELLITE_LOGIN=mylogin SATELLITE_PASSWORD=mypass ./arsa.py -l

Another idea is to also implement username/password files (with permissions 0600) - the script could also read the credentials from that file.

@stdevel stdevel added the enhancement label May 10, 2014

@stdevel stdevel self-assigned this May 10, 2014

stdevel added a commit that referenced this issue May 10, 2014

Update arsa.py
Fixed issue #1 by implementing auth files and login credential prompting.
An auth file includes a valid username/password combination and needs to have file permissions 0600.
@stdevel

This comment has been minimized.

Show comment
Hide comment
@stdevel

stdevel May 10, 2014

Owner

Fixed in commit b93ce6a
Implemented auth files and login credentials prompting

Owner

stdevel commented May 10, 2014

Fixed in commit b93ce6a
Implemented auth files and login credentials prompting

@stdevel stdevel closed this May 10, 2014

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