Skip to content

Add support for -A (askpass) commandline switch #1249

@allisonkarlitskaya

Description

@allisonkarlitskaya

hi,

Cockpit uses sudo to gain root privileges for users performing actions via the web interface. We definitely need askpass support: we forward the prompt to the user, asking for the password, and passing it back. We can't do that with a pseudoterminal forwarded to the user because we also support caching the login password and using that.

See cockpit-project/cockpit#22305 for the original report on our side.

Thanks!

Originally posted by @allisonkarlitskaya in #129

Metadata

Metadata

Assignees

Labels

C-pamPAM libraryenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions