etcher icon indicating copy to clipboard operation
etcher copied to clipboard

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

Open Decrypt0r opened this issue 5 years ago • 16 comments

  • 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.

Decrypt0r avatar Dec 05 '19 08:12 Decrypt0r

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?

thundron avatar Dec 09 '19 12:12 thundron

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.

fromanifromage avatar Dec 11 '19 06:12 fromanifromage

@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.

Decrypt0r avatar Dec 11 '19 06:12 Decrypt0r

@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)

thundron avatar Dec 11 '19 10:12 thundron

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

JokerQyou avatar Dec 15 '19 10:12 JokerQyou

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

lurch avatar Dec 16 '19 09:12 lurch

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

jellyfish-bot avatar Sep 16 '20 23:09 jellyfish-bot

AFAICT, this sounds like the problem I described here: https://github.com/balena-io/etcher/issues/3107#issuecomment-602047807

lurch avatar Sep 17 '20 08:09 lurch

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)

JokerQyou avatar Sep 17 '20 11:09 JokerQyou

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?

shawaj avatar Dec 13 '20 22:12 shawaj

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 avatar Jan 26 '21 16:01 sjohnson-imi

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.

sjohnson-imi avatar Jan 26 '21 17:01 sjohnson-imi

Is there a default username and password for Etcher? I'm trying to download the setup but they are asking for a username and password before they allow me to download.

DavidAmeba123 avatar Mar 14 '22 13:03 DavidAmeba123

@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.

mcraa avatar Mar 14 '22 13:03 mcraa

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

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

lurch avatar Mar 14 '22 15:03 lurch

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.

jdeibele avatar Jul 22 '22 16:07 jdeibele

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.

kmbgit avatar Jun 15 '23 08:06 kmbgit

Closing in favor of #3321

dfunckt avatar Jul 12 '23 10:07 dfunckt