Skip to content

Can't use the -A (AskPass) option #7

@antoine2711

Description

@antoine2711

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions