You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we decided we don't need to be a perfect, in-place replacement for sudo, we should consider removing some of the CLI options that we added. I'm opening this issue to keep track of this discussion.
This helps supporting sudo-rs, which currently does not implement the
--preserve-env flag and probably won't so in the foreseeable future [1].
The replacement just sets both environment variables behind the sudo
invocation with env, as sudo-rs also doesn't implement env var lists.
The OC_PASS variable is dropped, as it is seemingly unused and would
leak through this approach through /proc.
[1] trifectatechfoundation/sudo-rs#129
Since we decided we don't need to be a perfect, in-place replacement for sudo, we should consider removing some of the CLI options that we added. I'm opening this issue to keep track of this discussion.
Already implemented
--
-h, --help
-u user, --user=user
-g group, --group=group
-V, --version
-D directory, --chdir=directory
-i, --login
(CC-i
and-s
flag are not supported properly by the CLI #225)-s, --shell
-S, --stdin
(PR Feature pam tty #224 )-n, --non-interactive
-k, --reset-timestamp
-K, --remove-timestamp
-v, --validate
(always asking for password) (CC implement the--validate
flag #395)-v, --validate
(optionally asking for password) (CC Make--validate
aware of NOPASSWD #439)-l, --list
(CC implementsudo --list
#658)-U user, --other-user=user
(together with-l
)Planned
-E, --preserve-env
(CC SETENV/NOSETENV option #760)On the wishlist, but not scheduled
-e, --edit
(CC Support forsudo -e
orsudoedit
#762)To be decided
--preserve-env=list
-R directory, --chroot=directory
(similar to chdir)-P, --preserve-groups
-b, --background
Doubtful
-B, --bell
-C num, --close-from=num
-T timeout, --command-timeout=timeout
-p prompt, --prompt=prompt
-H, --set-home
Highly doubtful
-A, --askpass
-h host, --host=host
The text was updated successfully, but these errors were encountered: