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

Vagrant registration output needs to be filtered in case of blank password on Fedora 23 #77

Open
pavanbhat21 opened this issue Apr 14, 2016 · 1 comment

Comments

@pavanbhat21
Copy link

If by mistake user hits enter at the password prompt i.e blank pwd, the error msg needs to be filtered and handled well. Currently, we see the getpass.py script error on the screen.
See below:

[pavan@dhcp35-202 rhel-ose]$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Registering box with vagrant-registration...
default: Would you like to register the system now (default: yes)? [y|n]y
default: username: pbhat@redhat.com
default: password:
/usr/lib64/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal.
passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Password:
Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
Registering to: subscription.rhn.redhat.com:443/subscription

@optak
Copy link

optak commented Apr 14, 2016

This is also relevant for windows 10, so probably not platform dependent:

    default: username: optak@redhat.com
    default: password: 
Error! Your console doesn't support hiding input. We'll ask for
input again below, but we WILL NOT be able to hide input. If this
is a problem for you, ctrl-C to exit and fix your stdin.
     default: password: 
/usr/lib64/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal.
  passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Password: 
Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
Registering to: subscription.rhn.redhat.com:443/subscription

@hferentschik hferentschik changed the title Vagrany registration output needs to be filtered in case of blank password on Fedora 23 Vagrant registration output needs to be filtered in case of blank password on Fedora 23 Jun 13, 2016
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