tasket / Qubes-vpn-support

VPN configuration in Qubes OS
GNU General Public License v3.0
126 stars 28 forks source link

Can't enter password #69

Closed jakecminihan closed 1 year ago

jakecminihan commented 1 year ago

Hi,

I'm trying to set this up on R4.0.4, just downloaded the master today. After running sudo bash ./install I can input a username but the script won't accept any input for password except pressing enter, so the output is just an empty no-userpassword.txt file.

Edit: clarified that output file is empty

tasket commented 1 year ago

@jakecminihan

What is your template?

The command that reads the password is read -s -r -p "Password: " upassword so maybe there is something in your environment that has affected read.

jakecminihan commented 1 year ago

I'm using fedora-32 - I'll switch over to Debian and see if that works. Thanks for the quick response!

Update - still no input working on debian-10.

jakecminihan commented 1 year ago

Another update - manually removing the -s flag worked. Leaving open in case you want to make any final comments.

tasket commented 1 year ago

My guess is that the bash built-in read command has been overridden somehow, perhaps with an alias, and the replacement behaves like sh not bash.