LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

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
Code:
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. - http://www.debian.org/doc/manuals/de..._configuration
...
Senior Member
Posted in Uncategorized
Views 1175 Comments 0 craigevil is offline
Old

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:

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

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

Code:
YOUR_USER_NAME_HERE    ALL=(ALL)	ALL
...
Member
Posted in Uncategorized
Views 1418 Comments 0 dEnDrOn is offline

  



All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement

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