-
Notifications
You must be signed in to change notification settings - Fork 6
Can't use the -A (AskPass) option #7
Copy link
Copy link
Open
Description
I'm trying to use the -A (AskPass) option, but I get a strange error.
I have scripts that works on Ubuntu, MacOS, CentOS 8, but fails on ChromeOS.
$ SHELL=/bin/sh SUDO_ASKPASS=/usr/local/bin/sudo-askpass /usr/local/bin/sudo LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" -sA ls -la /
[ERROR] 2025/01/07 02:51:28 error initializing client: You are not currently signed in. Please run `op signin --help` for instructions
sudo: no password was provided
sudo: a password is required
$ /usr/local/bin/sudo-askpass
MyPassword
For the tool to work, it needs an environment variable to be preserved.
Regards, Antoine
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels