Skip to Content
Mastering Linux Security and Hardening - Second Edition
book

Mastering Linux Security and Hardening - Second Edition

by Donald A. Tevault
February 2020
Intermediate to advanced
666 pages
15h 45m
English
Packt Publishing
Content preview from Mastering Linux Security and Hardening - Second Edition

Preventing kernel parameter edits on Ubuntu

Ubuntu doesn't have that cool utility that Red Hat and CentOS have, so you'll have to set a GRUB 2 password by hand-editing a configuration file.

In the /etc/grub.d/ directory, you'll see the files that make up the GRUB 2 configuration:

donnie@ubuntu3:/etc/grub.d$ ls -ltotal 76-rwxr-xr-x 1 root root  9791 Oct 12 16:48 00_header-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme-rwxr-xr-x 1 root root 12512 Oct 12 16:48 10_linux-rwxr-xr-x 1 root root 11082 Oct 12 16:48 20_linux_xen-rwxr-xr-x 1 root root 11692 Oct 12 16:48 30_os-prober-rwxr-xr-x 1 root root  1418 Oct 12 16:48 30_uefi-firmware-rwxr-xr-x 1 root root   214 Oct 12 16:48 40_custom-rwxr-xr-x 1 root root   216 Oct 12 16:48 41_custom-rw-r--r-- ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
UNIX and Linux System Administration Handbook, 5th Edition

UNIX and Linux System Administration Handbook, 5th Edition

Trent R. Hein, Evi Nemeth, Garth Snyder, Ben Whaley, Dan Mackin

Publisher Resources

ISBN: 9781838981778Supplemental Content