O'Reilly logo

Practical Linux Topics by Chris Binnie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 13

image

Get Permission from Your Peers with Sudo

I’m certain that most sysadmins have encountered a scenario in the past where it’s become important to give a user access to an otherwise privileged resources on a server without giving them superuser access. And if you’re an Ubuntu user, you will already be relatively used to the process of elevating your privileges to that of a superuser, all without directly typing su -.

The tool of choice in Ubuntu is sudo, which allows you to log in as a normal user. Then, by using sudo -i, you semi-permanently become the superuser, “root”. It’s worth saying that all the other distributions support sudo ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required