• Check it out - we have a chatbot! Go ask TuxBot a question in the Ask Tuxbot section!

Security Implications of Giving Root Access to Group of Untrusted Users

bagasme

New Member
Joined
Oct 17, 2019
Messages
4
Reaction score
0
Credits
0
Hello all,

Let's say that on a production system, a sysadmin configure /etc/sudoers with following entry:

Code:
%teens ALL=(ALL:ALL) ALL

The entry above allows teens group (which is untrusted) to execute any commands with sudo. The sysadmin
assumed that teens group knows what they are doing.

Is it true that with above situation, the sysadmins effectively giving the teens group root access? Can it harm the system?

Bagas
 


OP
B

bagasme

New Member
Joined
Oct 17, 2019
Messages
4
Reaction score
0
Credits
0
Hmm... The link above also advocate same setup as above (my question), so let me reiterate: Can adding untrused users and groups to sudoers cause havoc on production system?
 

SBlackLinux

New Member
Joined
Oct 16, 2019
Messages
3
Reaction score
0
Credits
0
If in doubt, take them out. Easy to put them back in if su access is frequently required.
 
Last edited by a moderator:

JasKinasis

Well-Known Member
Joined
Apr 25, 2017
Messages
1,675
Reaction score
2,429
Credits
13,204
If you've added an untrusted group to the sudoers file -then anybody in that group can issue any command as if they were root.

So yes - members of this group could very easily damage, or completely bork your system.

If they are untrusted - they shouldn't be granted access to sudo at all!
 
OP
B

bagasme

New Member
Joined
Oct 17, 2019
Messages
4
Reaction score
0
Credits
0
If you've added an untrusted group to the sudoers file -then anybody in that group can issue any command as if they were root.

So yes - members of this group could very easily damage, or completely bork your system.

If they are untrusted - they shouldn't be granted access to sudo at all!
Thanks for explanation.
 
Last edited:
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Latest posts

Top