Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs
User Name



Misuse of sudo(8) and sudoers(5)

Posted 10-07-2016 at 06:46 AM by Turbocapitalist

The utility sudo(8) runs programs as another user. Frequently, that other user is root, but it does not have to be, the utility can also be used to downgrade privileges. Often it is mis-used to provide full root access to a group of users in place of su(1). However, sudo(8) was developed to give selective access to machines, following the principle of least privilege. It can achieve a very fine granularity of access, even allowing just specific programs or specific options for specific programs....
Posted in Uncategorized
Views 206 Comments 6 Turbocapitalist is offline

Howto enable sudo in Debian

Posted 09-20-2012 at 11:21 AM by craigevil (craigevil's random words of wisdom)
Updated 09-21-2012 at 10:20 AM by craigevil

Debian unlike other distros like Ubuntu does not come with sudo enabled by default. That said it is easy enough to set it up.

How to setup sudo:

1) Use visudo to edit your sudoers file
2) Add your user to the sudo group
adduser foo sudo
3) Or you can use gksu, or kdesu on KDE.

Or you can follow the simple steps here:
Debian Reference Chapter 1. -
Senior Member
Posted in Uncategorized
Views 2432 Comments 0 craigevil is offline

Enable ‘sudo’ in Fedora 15

Posted 07-02-2011 at 04:53 AM by dEnDrOn

Here is how you can enable ‘sudo’ in Fedora so that you don’t have to login as root everytime you need to run a command as root. Open up terminal and type in the following:

su #enter root password followed by this one
yum install nano
nano /etc/sudoers
Now, scroll down and you should see something like:

root    ALL=(ALL)	ALL
Just below that line, add this:

Posted in Uncategorized
Views 1714 Comments 0 dEnDrOn is offline


All times are GMT -5. The time now is 11:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration