Language Selection

English French German Italian Portuguese Spanish

7 Linux sudo Command Tips and Tricks

Filed under

Using sudo command, an user can execute root only commands.
In this article, let us review how to setup sudo environment along with some sudo command examples, tips, and tricks.

1. Set up sudo Environment in /etc/sudoers

You can provide sudo privilege to an individual user or a group by modifying /etc/sudoers.

sudo access to an user

To provide sudo access to an individual user, add the following line to the /etc/sudoers file.

sathiya ALL=(ALL) ALL

In the above example:

rest here

More in Tux Machines

LinuxCon 2015 Report: Dirk Hohndel Chats with Linus Torvalds

For many LinuxCon attendees, one of the biggest event highlights is the opportunity to rub elbows with the people who actually write the Linux code. The only thing that can top that? Hearing from Linus Torvalds himself, the man who created it 24 years ago and still writes the code to this day. Read more

Open Network Linux Simplifies Open Compute Project Switch Configuration

Big Switch Networks, Facebook and NTT, announced today that they have come together to create a unified operating system for the Open Compute Project‘s (OCP) open source networking switch called Open Network Linux. The project is designed to help companies, whether web scale-type companies like Facebook or others looking to take advantage of the Open Compute Project’s open source switches, to use the platform as a base to configure the switches in a way that makes sense to them. Read more

Would the Internet Exist without Linux? Yes. Without Open Source? No

Would the Internet exist if Linux did not? A video out this week from the Linux Foundation, which has launched a new campaign to promote open source, says no. History says yes. The minute-long video is the first in a new series the Linux Foundation has created called "A World Without Linux." The series "flips reality on its head to illustrate in an entertaining fashion just how pervasive Linux is today," according to a Linux Foundation representative. Read more

Valve Makes SteamOS 2.0 the Official Distro, Now Based on Debian 8.2

Valve is making SteamOS 2.0 the official version supported by the company, and it looks like it might ship with the Steam Machines after all. Read more