Re: Is it me or is it sudo?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



elp

On Wed, Mar 28, 2012 at 1:17 PM, Mark Haney <markh@xxxxxxxxxxxx> wrote:
> On 03/28/2012 12:02 PM, William Hooper wrote:
>>
>> On Wed, Mar 28, 2012 at 9:18 AM, Mark Haney<markh@xxxxxxxxxxxx>  wrote:
>>>
>>> I'm kinda confused by the sudo problem I'm having.  I've edited the main
>>> file with visudo to include:
>>>
>>> ## Allow root to run any commands anywhere
>>> root    ALL=(ALL)       ALL
>>> markh   ALL=(ALL)       NOPASSWD: ALL
>>
>>
>> Do any of the other lines match the markh user?  I believe sudo goes
>> through the file and uses the last matching entry.
>>
>
> Hmm, no, not that I can see.  That's the only entry with my username in it.

Are you a member of the "wheel" group?  (You are added to this group
when you check the "Administrator" checkbox on the user account setup
screen that appears on the first reboot after installation.)  Check
with the `groups` command.

If so, Fedora's default sudoers enables sudo for the wheel group (look
for a line starting with %wheel).  Try commenting out this line.

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux