Skip to Content
CentOS 6 Linux Server Cookbook
book

CentOS 6 Linux Server Cookbook

by Jonathan Hobson
April 2013
Beginner
374 pages
8h 14m
English
Packt Publishing
Content preview from CentOS 6 Linux Server Cookbook

Escalating user privilege with sudo

In this recipe we will learn how to provide nominated users or groups the ability to execute a variety of commands with elevated privileges.

In a previous recipe we discovered how to create an administrative user that enables them to invoke the su command. Given that this provides full access to root user functionalities, this may suit your needs, but for those who want a greater degree of flexibility, a solid audit trail, and the ability to provide a limited array of administrative capabilities to a select number of trusted users, you have come to the right place. It is the purpose of this recipe to show you how to activate and configure the sudo (or superuser do) command.

Getting ready

To complete this recipe ...

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

CentOS 7 Linux Server Cookbook - Second Edition

CentOS 7 Linux Server Cookbook - Second Edition

Jonathan Hobson
Mastering CentOS 7 Linux Server

Mastering CentOS 7 Linux Server

Mohamed Alibi, BHASKARJYOTI ROY

Publisher Resources

ISBN: 9781849519021Other