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
sudo -i and sudo -s should also run without arguments:
$ sudo-rs -i
sudo-rs: `': command not found
In original sudo, this gives you a shell into the root home directory. Similarly sudo -s is of course what everybody should use instead of sudo bash or sudo su.
Note that this should not be dealt with in the sudo-exec crate, since that runs post-permission checks (we must check that the user actually has permission to execute the shell)
The text was updated successfully, but these errors were encountered:
sudo -i
andsudo -s
should also run without arguments:In original sudo, this gives you a shell into the
root
home directory. Similarlysudo -s
is of course what everybody should use instead ofsudo bash
orsudo su
.Note that this should not be dealt with in the
sudo-exec
crate, since that runs post-permission checks (we must check that the user actually has permission to execute the shell)The text was updated successfully, but these errors were encountered: