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

Unable to enter administrator password on the new popup prompt after selecting flash “balenaEtcher wants to make changes.” #2997

Closed
ghost opened this issue Dec 5, 2019 · 18 comments

Comments

@ghost
Copy link

ghost commented Dec 5, 2019

  • Etcher version: 1.5.66
  • Operating system and architecture: MacOS Catalina
  • Image flashed: Hypriot Docker
  • Do you see any meaningful error information in the DevTools? Console tab. No

Works on Administrator account, not on standard user account.

@thundron
Copy link
Contributor

thundron commented Dec 9, 2019

Hi, can you please describe a bit more the issue? Do you mean that you can't actually write the password (as in, you write but nothing happens) or that you can't confirm after writing the password, or something else?

@fromanifromage
Copy link

I might have the same error. First I see this message:
"balenaEtcher wants to make changes. Type your password to allow this."
Then I try to enter the correct password. I have tried alternating both the user and admin passwords; neither works. The program claims it will show a progress bar and it never shows.

@ghost
Copy link
Author

ghost commented Dec 11, 2019

@thundron, From what @fromanifromage has described is exactly whats appears for me. I just don’t know what the reasoning behind switching to a custom prompt only asking for the password while the default MacOS prompt asks both for username and password. It hasn’t been a problem with the default in the previous versions.

@thundron
Copy link
Contributor

@ldon13 Reason is macOS Catalina unfortunately 🤦‍♂
If you run with sudo does it work?
Can you paste here the output in the devtools console after closing the password dialogue? (cmd + opt + i to open it)

@JokerQyou
Copy link

JokerQyou commented Dec 15, 2019

When running in macOS Catalina 10.15.1, Etcher used to work properly, and a dialog like this would popup before actually flashing to SD card:
image

After upgrading to Catalina 10.15.2, Etcher changed to this popup:
image

And whatever you type in this dialog does not work, even if the password is correct. If you click "OK", it will popup again; if you click "Cancel", well, it cancels the flash.

Update:
This ugly dialog would popup 3 times in a row (asking for your password for 3 times), and only after that would the flash begin. I did not find related description in the changelog, this is really confusing..

Update 2:
I've turned to ApplePiBaker v2. It used a different approach: a privileged helper tool, which only requires admin password the first time you open the app. After the initial install, you won't need to provide password to start flashing.
I think this might be helpful to the Etcher devs: https://www.tweaking4all.com/hardware/raspberry-pi/applepi-baker-v2/#WritingtoaDiskSudoAccessvsHelperTool

@lurch
Copy link
Contributor

lurch commented Dec 16, 2019

I did not find related description in the changelog

I think #2939 is the relevant PR ? Which only appears in the changelog as https://github.com/balena-io/etcher/blob/master/CHANGELOG.md#v1561

@jellyfish-bot
Copy link

[pipex] This issue has attached support thread https://jel.ly.fish/5942fd9e-617b-4d01-a572-ff115a43be88

@lurch
Copy link
Contributor

lurch commented Sep 17, 2020

AFAICT, this sounds like the problem I described here: #3107 (comment)

@JokerQyou
Copy link

This comment says that even PrivilegedHelperTools (whatever they are) don't work in Catalina either.

I guess not. ApplePiBaker uses privileged helper tool, but it's working all the time. I installed it last year (you can see my comment above) and the last time I used it two weeks ago everything works fine. I've long been using Catalina (currently on 10.15.6)

@shawaj
Copy link
Contributor

shawaj commented Dec 13, 2020

This should be fixed now in v1.5.112. @Decrypt0r @JokerQyou @fromanifromage could you update to the latest version and check if it now works for you?

@sjohnson-imi
Copy link

The issue is still occurring. I'm using v1.5.115 on Catalina. It only asks for a password (not an administrator login) and then silently kicks back to the "select target" decision. I tried repeating this thrice (and on to five times) to see if that would get by, but no change.

@sjohnson-imi
Copy link

Seems to stem from the change from asking for admin credentials to asking for user credentials and relying on sudoers to allow access. Once I added the standard user account to the sudoers file, etcher was able to complete.

@mcraa
Copy link
Contributor

mcraa commented Mar 14, 2022

@DavidAmeba123 the real etcher website is not asking you any password
Please have a look at #3724 and double-check if you are really on https://etcher.io.
When you start a flash with etcher it will ask you for an admin password to have all the rights for writing the target drive.

@lurch
Copy link
Contributor

lurch commented Mar 14, 2022

double-check if you are really on https://etcher.io/

That auto-redirects to https://www.balena.io/etcher/ 😉

@jdeibele
Copy link

I'm on Ventura Public Beta and having a similar problem to what JokerQyou reported back in 2019. It's worse in that I can't flash.

I run as a user without administrative privileges. There is a different account with administrative privileges. Normally, I need to type in the name and password of an account with administrative privileges.

When I try to flash an ISO, I get this:

Screenshot 2022-07-22 at 09 03 01

Note that it is not asking for the name of an administrative account. On my computer, there is one account with administrative privileges but there could be 10.

After entering the password for the administrative account 3 times, I get this:
Screenshot 2022-07-22 at 09 03 25

The "Flash!" button flickers but doesn't do anything. I choose "Select Target" and repeat the cycle.

@kmbgit
Copy link

kmbgit commented Jun 15, 2023

This works from a terminal (where "admin" is the name of a user with Administrator permission)...

su admin -c "sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher"

Alternatively, download the Raspberry Pi Imager from https://www.raspberrypi.com/software/ - it manages to ask for an admin username/password so it must be possible.

@dfunckt
Copy link
Member

dfunckt commented Jul 12, 2023

Closing in favor of #3321

@dfunckt dfunckt closed this as completed Jul 12, 2023
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

13 participants