Closed Enteee closed 1 month ago
This also happens when the user does not require a password for sudo (NOPASSWD
-policy)
This also happens when the user does not require a password for sudo (
NOPASSWD
-policy)
In the case of NOPASSWD policy, I recommend not using the is_elevated
flag.
In the case of NOPASSWD policy, I recommend not using the
is_elevated
flag.
my use case for process-compose is as process manager for my devenv.nix
powered development environment. I don't really know if the user running my devenv has NOPASSWD configured.
The use case is clear. Will be fixed in the next release.
Defect
Version of
process-compose
:OS environment:
nixos
withdevenv.nix
Steps or code to reproduce the issue:
1) start process compose with a process that has
is_elevated: true
2) type password -> process runs 3) restart process compose-> elevated process runs directly without waiting for password input, but process compose TUI is still asking for a password.
Expected result:
process-compose
should not ask for a password ifsudo
is caching credentialsActual result:
process-compose
always asks for a password