Description
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) -
-p prompt, --prompt=prompt
-
-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
) -
env variable declarations (CC Add env variable declarations to the CLI #917, Add SETENV support #932)
On the wishlist, but not scheduled
-e, --edit
(CC Support forsudo -e
(andsudoedit
) #762)
To be decided
--preserve-env=list
-R directory, --chroot=directory
(similar to chdir)-P, --preserve-groups
-b, --background
-B, --bell
(CC -B/--bell flag #1028)
Doubtful
-E, --preserve-env
-C num, --close-from=num
-T timeout, --command-timeout=timeout
-H, --set-home
Highly doubtful
-A, --askpass
-h host, --host=host