Commits

Dustin Hatch  committed 9c68353

Improve security of sudoers config for Portage

  • Participants
  • Parent commits a70ae43

Comments (0)

Files changed (1)

File linux/etc/sudoers.d/portage

-Cmnd_Alias	PORTAGE = /usr/bin/pump, /usr/bin/emerge, /usr/bin/ebuild
+Cmnd_Alias	PORTAGE = /usr/bin/emerge
 
-Defaults!PORTAGE	env_keep += "ACCEPT_KEYWORDS FEATURES MAKEOPTS USE"
+Defaults!PORTAGE	env_keep += "ACCEPT_KEYWORDS FEATURES MAKEOPTS USE INCLUDE_SERVER_PID INCLUDE_SERVER_DIR INCLUDE_SERVER_PORT"
 
 %portage	ALL = (root) NOPASSWD: PORTAGE