Configuring the Hierarchy of Administrative Privileges

You could always run administrative commands as the root user. That can be dangerous, however, because the actions required to undelete a file are complex. Although it’s common to delete groups of directories and subdirectories, that’s a risky business. Say, for example, you wanted to delete the hypothetical /usr/src/someone-source/ directory along with its files and subdirectories. You could run the following command as the root administrative user:

The command to delete the u s r, s r c, someone hyphen source directory along with its files and subdirectories.Description

That is a potentially dangerous command, however. An accidental space added in the wrong place in that command would delete every ...

Get Security Strategies in Linux Platforms and Applications, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.