Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoCan't autofill sudo commands
I have went through https://support.1password.com/mac-universal-autofill/#autofill-your-mac-login and am unable to autofill my password when using sudo commands.
I have a Mac login
item, which also shows in Quick Access when Terminal or iTerm2 is focused.
Using the Universal Autofill shortcut prompts me to unlock.
1Password has the Automation permission for both Terminal.app
and iTerm.app
and the Accessibility permission.
When I use either the Universal Autofill shortcut or the autofill option in Quick Access at a sudo prompt in either Terminal or iTerm2, nothing happens, and when I hit enter after using the shortcut, I get "Sorry, try again.". I used sudo echo
as a test command.
1Password Version: 8.8.0-119
OS Version: macOS 12.4
18 Replies
- Former Member
Hi, I had no issues (Terminal in echo mode) when I first updated to 1Password 8, but a few days later, iTerm and Terminal no longer autofilled my password. I updated to the beta, 8.8.0, 80800165 and it started working again like described above.
Well, today, it stopped working WITH the Beta. I tried reinstalling everything all over again, and I still get the same error. (Terminal in echo mode)
Any ideas? Why would it start working and then stop? Thank you.
INFO 2022-07-06T07:12:19.287 tokio-runtime-worker(ThreadId(111)) [swift] Brain.swift:449 :: collectPageDetails(fastCollection:prettyPrint:) | @Autofill: Collecting from pid(950)
INFO 2022-07-06T07:12:19.294 tokio-runtime-worker(ThreadId(111)) [swift] Brain.swift:346 :: collectTerminalElement(app:) | @Autofill: Collecting a terminal app
INFO 2022-07-06T07:12:19.309 tokio-runtime-worker(ThreadId(111)) [swift] Brain.swift:373 :: collectTerminalElement(app:) | @Autofill: Terminal in echo mode, filling disabled
INFO 2022-07-06T07:12:19.309 tokio-runtime-worker(ThreadId(8)) [1P:op-desktop-autofill/src/macos.rs:153] Nothing to be filled
INFO 2022-07-06T07:12:19.309 tokio-runtime-worker(ThreadId(8)) [1P:op-desktop-autofill/src/macos.rs:161] Active app is a terminal; not trying to fill more than once
INFO 2022-07-06T07:12:19.309 tokio-runtime-worker(ThreadId(8)) [1P:op-desktop-autofill/src/macos.rs:170] Done filling
- 1P_PeterG
Community Manager
Thank you for letting us know, @1Lando. Most gratifying! 🙌
- Former Member
Just updated to the latest beta that was released today. Looks like the rust error I was seeing has now been resolved. Good deal!
- Former Member
I received a reply in my email thread regarding the rust error that I was getting that they don't have a fix yet and to keep an eye out in future releases. Just wanted to provide the update for the rest of the folks here that may be experiencing the same issue in case they are wondering.
Hopefully they will get this resolved soon as this is documented as a working feature for 1Password 8. Sounds like there may be a decent amount of other users who are experiencing the same issue.
- Former Member
Would just like to chime in and say that I have the same problem with autofill not working with
sudo
or in system dialogs.
Security & Privacy pane does not contain 1password at all for me under Automation. I found the same error with the signature in my logs. - Alvin_L_1P
1Password Team
Thanks so much @Orangutan ! I've located the ticket - one of my colleagues will be in contact with you as soon as possible.
ref: FDF-37188-266
- Former Member
Alvin_L_1P My support ID is
#FDF-37188-266
. - Alvin_L_1P
1Password Team
Hey @Orangutan:
I apologize for the trouble you've experienced with filling in Terminal and iTerm. Can you send us a diagnostics report from your Mac?
Attach the diagnostics to an email message addressed to support+forum@1password.com . With your email please include:
- A link to this thread: https://1password.community/discussion/130608/cant-autofill-sudo-commands#latest
- Your forum username: Orangutan
You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here. Thanks very much!
Alvin
- Former Member
1P_PeterG Do you know what I can do to debug the issue affecting
Terminal.app
(https://1password.community/discussion/comment/644857/#Comment_644857)? - 1P_PeterG
Community Manager
Thank you @1Lando. Our specialists look forward to resolving this for you.