Re: sudoers vs admin group
Jean-Marc <jean-marc@6jf.be> writes:
> Michael <jm603@jagmail.southalabama.edu> wrote:
>> Is there any (significant) difference between editing (adding a user to)
>> the _/etc/sudoers_ file and adding a person to the _admin group?_ Am I
>> comparing apples and oranges?
> Usually, groups are used on GNU/Linux for access control, to control access to the files, directories, and peripherals. So, being in the admin group will allow users to get access to the files having admin as group.
>
> /etc/sudoers determines a user's sudo privileges. Privileges do not always mean getting root privileges.
>
> It is not the same thing, indeed.
See also
http://www.debian.org/doc/manuals/securing-debian-howto/ch12.en.html#s12.1.12.1
for an explanation of each group on Debian (distros vary).
sudoers controls who can run what with sudo; groups grant access (not
root access) to certain files with permissions for that group.
--Aidan
Reply to: