Skip to Content
Mastering Ubuntu Server - Second Edition
book

Mastering Ubuntu Server - Second Edition

by Jay LaCroix
May 2018
Intermediate to advanced
552 pages
14h 55m
English
Packt Publishing
Content preview from Mastering Ubuntu Server - Second Edition

Locking down sudo

We've been using the sudo command throughout the book. In fact, we took a deeper look at it during Chapter 2, Managing Users. Therefore, I won't go into too much detail regarding sudo here, but some things bear repeating as sudo has a direct impact on security.

First and foremost, access to sudo should be locked down as much as possible. A user with full sudo access is a threat, plain and simple. All it would take is for someone with full sudo access to make a single mistake with the rm command to cause you to lose data or render your entire server useless. After all, a user with full sudo access can do anything root can do (which is everything).

By default, the user you've created during installation will be made a member ...

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 Ubuntu Server - Third Edition

Mastering Ubuntu Server - Third Edition

Jay LaCroix
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 9781788997560Other