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 Ubuntu 18.04
System Settings
Kernel Configuration
Disable legacy (BSD) PTY support
Disable legacy (BSD) PTY support
An XCCDF Rule
Details
Profiles
Prose
Disable legacy (BSD) PTY support
Medium Severity
Disable the Linux traditional BSD-like terminal names /dev/ptyxx for masters and /dev/ttyxx for slaves of pseudo terminals, and use only the modern ptys (devpts) interface. The configuration that was used to build kernel is available at
/boot/config-*
. To check the configuration value for
CONFIG_LEGACY_PTYS
, run the following command:
grep CONFIG_LEGACY_PTYS /boot/config-*
Configs with value 'n' are not explicitly set in the file, so either commented lines or no lines should be returned.