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 Anolis OS 8
System Settings
Installing and Maintaining Software
Sudo
Ensure Only Users Logged In To Real tty Can Execute Sudo - sudo use_pty
Ensure Only Users Logged In To Real tty Can Execute Sudo - sudo use_pty
An XCCDF Rule
Details
Profiles
Prose
Ensure Only Users Logged In To Real tty Can Execute Sudo - sudo use_pty
Medium Severity
The sudo
use_pty
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
use_pty
tag exists in
/etc/sudoers
configuration file or any sudo configuration snippets in
/etc/sudoers.d/
.