Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
MEPIS This forum is for the discussion of MEPIS Linux.


  Search this Thread
Old 12-12-2011, 12:04 AM   #1
nandu neerukonda
LQ Newbie
Registered: Jun 2011
Location: Pune
Posts: 18

Rep: Reputation: Disabled
Exclamation More info on sudo

Hi Guys,

I need to give few administrative access to only 2-3 users accounts.
Where & how to configure it?

Old 12-12-2011, 12:19 AM   #2
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
If you have already enabled sudo for one account, then it is simply a matter of adding the required users to the group, "wheel", or on some distro's it may be "sudo".

If sudo hasn't been enabled yet.
Run "visudo" as root, and uncomment the line (again, this line could be "%wheel"):
%sudo ALL=(ALL) ALL
Which will enable any users in the group "sudo" to run any commands that root can run (so all of them), by entering their OWN password.

 man sudoers
has more information for more detailed sudo setups, and only allowing access to certain commands.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Ultimate Sudo FAQ To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 02:36 AM
sudo cd /root gives 'sudo: cd: command not found'. stf92 Linux - Newbie 4 03-03-2012 10:05 AM
Can't use sudo, only account that's not root is not a sudo'ers [Ubuntu 9.10] randyriver10 Linux - Desktop 1 01-09-2010 08:56 PM
Problem with SUDO : sudo: pam_authenticate: Module is unknown cristoph_ Linux - Software 2 03-02-2009 08:12 PM
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 04:20 PM > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 05:55 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