ubuntuforums-unanswered team mailing list archive
-
ubuntuforums-unanswered team
-
Mailing list archive
-
Message #02288
Re: [Question #76816]: how to make some users not be able to use sudo
Question #76816 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/76816
Status: Open => Answered
Steven Danna proposed the following answer:
Well, I believe what the "Administrate the system" check box does is put
the user into the admin group. Since the admin group is in the sudoers
file, any user in that group will be able to run commands as sudo.
Technically, you could just add them to /etc/sudoers using the command:
sudo visudo
And then adding a line such as
user_name ALL=(ALL) ALL
where username is the name of the user. You can also just give them
permission to run certain commands as sudo. The manpage(man sudoers) for
sudoers provides more information more information.
--
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.