[sudo-commits] sudo changeset 13573:4d45797dfb11
Todd C. Miller
Todd.Miller at sudo.ws
Mon Oct 11 18:05:22 MDT 2021
changeset: 13573:4d45797dfb11 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/4d45797dfb11
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Mon Oct 11 11:05:58 2021 -0600
Log Message:
Display a more helpful message if the user tries to run "sudo cd".
Since "cd" is a shell built-in command it cannot be run directly
via sudo. The user either needs to spawn a shell via "sudo -s"
or use the -D option to run a command in a specific directory.
diffstat:
plugins/sudoers/sudoers.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
More information about the sudo-commits
mailing list