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 Alibaba Cloud Linux 2
System Settings
Installing and Maintaining Software
Sudo
Ensure Only Users Logged In To Real tty Can Execute Sudo - sudo requiretty
Ensure Only Users Logged In To Real tty Can Execute Sudo - sudo requiretty
An XCCDF Rule
Details
Profiles
Prose
Ensure Only Users Logged In To Real tty Can Execute Sudo - sudo requiretty
Medium Severity
The sudo
requiretty
tag, when specified, will only execute sudo commands from users logged in to a real tty. This should be enabled by making sure that the
requiretty
tag exists in
/etc/sudoers
configuration file or any sudo configuration snippets in
/etc/sudoers.d/
.