From a79c3af48739c63191ebaa2c983ad69cfb3904d0 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 27 Sep 2004 18:05:58 +0000 Subject: [PATCH] Mention PREVENTING SHELL ESCAPES section of sudoers man page --- sudo.pod | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/sudo.pod b/sudo.pod index 7222e2ecc..bc106957f 100644 --- a/sudo.pod +++ b/sudo.pod @@ -359,14 +359,16 @@ will be ignored and sudo will log and complain. This is done to keep a user from creating his/her own timestamp with a bogus date on systems that allow users to give away files. -Please note that B will only log the command it explicitly -runs. If a user runs a command such as C or C, -subsequent commands run from that shell will I be logged, nor -will B's access control affect them. The same is true for -commands that offer shell escapes (including most editors). Because -of this, care must be taken when giving users access to commands -via B to verify that the command does not inadvertently give -the user an effective root shell. +Please note that B will normally only log the command it +explicitly runs. If a user runs a command such as C or +C, subsequent commands run from that shell will I be +logged, nor will B's access control affect them. The same +is true for commands that offer shell escapes (including most +editors). Because of this, care must be taken when giving users +access to commands via B to verify that the command does not +inadvertently give the user an effective root shell. For more +information, please see the C section in +L. =head1 ENVIRONMENT -- 2.50.1