Re: Ask detail operate process about edit sudoers file by terminal

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

 



Doug:
> In my sudoers, that line

... which is this line:    %wheel ALL=(ALL)  ALL

> is commented out, and should be. You don't want everybody and his
> brother to have sudo privileges.

It doesn't need to be.  Because no users are in the wheel group unless
you customise things when setting up the user accounts.  And anyone who
was capable of putting themselves in the wheel group, would be just as
able to edit the sudoers file.

This is an alternative way of doing the same thing:

> What you need to do is insert the _following_ line, that looks like
> (in my case)
> 
> doug     ALL=(ALL) ALL
> 
> put your user-name in where mine is.

... of giving specific users special privileges via a different route.

The method of adding specific users into the sudoers file is that you
can add them without *ALL* privileges, so that they can have *some*
special abilities more than an ordinary user, but will be restricted
from doing other things.  In essence, you're whitelisting the commands
that they will be allowed to use.

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.8.13-100.fc17.x86_64 #1 SMP Mon May 13 13:36:17 UTC 2013 x86_64

All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.

George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.



-- 
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