diff options
author | wxs <wxs@FreeBSD.org> | 2011-04-11 20:47:00 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2011-04-11 20:47:00 +0800 |
commit | bf835d4ecfadaea055e6140c3b847b6674f87a13 (patch) | |
tree | 603629a5acd4f8180a1cb2f299d51a04569b8a50 /security | |
parent | 14348185d4a7d1a9f73f206770019523b5a18f5d (diff) | |
download | freebsd-ports-gnome-bf835d4ecfadaea055e6140c3b847b6674f87a13.tar.gz freebsd-ports-gnome-bf835d4ecfadaea055e6140c3b847b6674f87a13.tar.zst freebsd-ports-gnome-bf835d4ecfadaea055e6140c3b847b6674f87a13.zip |
We don't install a sudoers.d, remove that from the default sudoers file.
PR: ports/156305
Submitted by: Helmut Schneider <jumper99@gmx.de>
Anatoly Borodin <anatoly.borodin@gmail.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/sudo/Makefile | 1 | ||||
-rw-r--r-- | security/sudo/files/patch-plugins__sudoers__sudoers.in | 12 |
2 files changed, 11 insertions, 2 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index af53c84249f4..841a206a8e04 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -7,6 +7,7 @@ PORTNAME= sudo PORTVERSION= 1.8.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.sudo.ws/sudo/dist/ \ http://www.signal42.com/mirrors/sudo_ftp/ \ diff --git a/security/sudo/files/patch-plugins__sudoers__sudoers.in b/security/sudo/files/patch-plugins__sudoers__sudoers.in index c987e3c1dcb5..35199f678dda 100644 --- a/security/sudo/files/patch-plugins__sudoers__sudoers.in +++ b/security/sudo/files/patch-plugins__sudoers__sudoers.in @@ -1,5 +1,5 @@ ---- ./plugins/sudoers/sudoers.in.orig 2010-08-18 07:45:38.000000000 -0400 -+++ ./plugins/sudoers/sudoers.in 2011-04-09 21:23:16.616272145 -0400 +--- plugins/sudoers/sudoers.in.orig 2010-08-18 07:45:38.000000000 -0400 ++++ plugins/sudoers/sudoers.in 2011-04-11 08:41:26.550267535 -0400 @@ -31,6 +31,14 @@ ## ## Defaults specification @@ -15,3 +15,11 @@ ## You may wish to keep some of the following environment variables ## when running commands via sudo. ## +@@ -84,7 +92,3 @@ + ## of the user they are running the command as (root by default). + # Defaults targetpw # Ask for the password of the target user + # ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw' +- +-## Read drop-in files from @sysconfdir@/sudoers.d +-## (the '#' here does not indicate a comment) +-#includedir @sysconfdir@/sudoers.d |