Rudo "Rust User do" allows a system administrator to give certain users the ability to run some commands as root or another user while logging all commands, and it's arguments.
Compile with rust 1.43
and later, on ubuntu-20.04
and macos-10.15
, as test in CI. 2021-04-17
nonstandard_style
\clippy::cargo_common_metadata
\clippy::expect_used
, clippy::unwrap_in_result
and clippy::unwrap_used
\clippy::get_unwrap
and clippy::indexing_slicing
\clippy::else_if_without_else
\clippy::mem_forget
\clippy::integer_arithmetic
Required serde_yaml
>=0.8.4
because
of RUSTSEC-2018-0005 \
Rudo as use serde_yaml
version 0.8.17
at its debut, so it has never been affected by it
https://copr.fedorainfracloud.org/coprs/remilauzier/rudo/
rudo some-command with-args
rudo -s
or rudo --shell
rudo -u some-user
or rudo --user some-user
rudo -e some-document
or rudo --edit some-document
rudo -d
or rudo --debug
rudo -g
or rudo --greeting
journald
on Linux or to oslog
on macOS/etc/rudo.conf
or it will be createdYou need to change the owner of the binary to root to make it work, except for the copr package
* sudo chown root:root
* sudo chmod 4755
No security audit was perform on Rudo