You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
Instead of asking the user for a password and doing things like echo $PASSWORD | sudo ... just do sudo .... Some users might've setup sudo to not require the password, so asking for a password is meaningless in those cases. Plus if sudo DOES require a password you only need to enter it once, and sudo has it cached.
Another gaping issue I discovered, as someone who's setup sudo to not prompt for a password, is that when the installation tried to install packages pacman did the regular ":: Proceed with installation? [Y/n] "... my password was printed as a response in clear text.
The text was updated successfully, but these errors were encountered:
Plus if sudo DOES require a password you only need to enter it once, and sudo has it cached.
Yes, you're right about this.
as someone who's setup sudo to not prompt for a password ... my password was printed as a response in clear text.
Not sure if I get this. You don't have a password set up but still it gets printed out? I don't run Arch on any of my machines but I haven't observed this kind of issue anywhere else (Fedora, Ubuntu).
To be honest I am not spending much time around the installation script. If you have some spare time to provide a fix, pull request will be more than welcome :)
Instead of asking the user for a password and doing things like
echo $PASSWORD | sudo ...
just dosudo ...
. Some users might've setup sudo to not require the password, so asking for a password is meaningless in those cases. Plus if sudo DOES require a password you only need to enter it once, and sudo has it cached.Another gaping issue I discovered, as someone who's setup sudo to not prompt for a password, is that when the installation tried to install packages pacman did the regular ":: Proceed with installation? [Y/n] "... my password was printed as a response in clear text.
The text was updated successfully, but these errors were encountered: