Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of SUSE Linux Enterprise 12
System Settings
Installing and Maintaining Software
Sudo
Ensure sudo Runs In A Minimal Environment - sudo env_reset
Ensure sudo Runs In A Minimal Environment - sudo env_reset
An XCCDF Rule
Details
Profiles
Prose
Ensure sudo Runs In A Minimal Environment - sudo env_reset
Medium Severity
The sudo
env_reset
tag, when specified, will run the command in a minimal environment, containing the TERM, PATH, HOME, MAIL, SHELL, LOGNAME, USER and SUDO_* variables. This should be enabled by making sure that the
env_reset
tag exists in
/etc/sudoers
configuration file or any sudo configuration snippets in
/etc/sudoers.d/
.