Skip to Content
Mastering Linux Security and Hardening
book

Mastering Linux Security and Hardening

by Donald A. Tevault
January 2018
Intermediate to advanced
376 pages
8h 45m
English
Packt Publishing
Content preview from Mastering Linux Security and Hardening

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

Linux Security and Hardening, The Practical Security Guide

Linux Security and Hardening, The Practical Security Guide

Jason Cannon
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781788620307Other