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>
This commit is contained in:
parent
9bebb818ab
commit
92fc99dfbd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272519
2 changed files with 11 additions and 2 deletions
|
@ -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/ \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue