How to limit root access?

Nanashi95

New Member
Joined
Jul 25, 2021
Messages
1
Reaction score
0
Credits
14
Hi.
In an IT company that contains sysadmins, developers & database admins, how can we limit the sysadmin (root) access on a Linux server.
For example:
DBAs has special privileges to data bases. But the sysadmin (root) have the access to those files too even without their passwords, that we don't want this. In windows, you don't have the access to some of the user's files as administrator, I wanna know how can I have this in Linux. Thank you so much.
 


KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
10,580
Reaction score
9,107
Credits
87,870
Root has all the rights. If you can't trust a user with root, don't give them root access. Give them more granular permissions.
 

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,985
Reaction score
1,851
Credits
14,353
Root is intended to access all files in the system. If you do not want sysadmins to have that privilege give them only user privileges and allow them to be part of groups you want them to access. Block them from others. If you restrict root access then no one would be able to fix the files in question if they are corrupted. It sounds like you need to be selective in selecting your sysadmins :) How ever that being said this article may be of help limit root
 
Last edited:

dcbrown73

Well-Known Member
Joined
Jul 14, 2021
Messages
389
Reaction score
362
Credits
3,497
Properly configured sudo.

There are only two people who know the root password in my company. The other admins (including those two) use sudo.
 

Members online


Top