How to prevent local, non-root users from modifying NetworkManager profiles
Issue
- When users are logged in via a console or a GUI session, they can change, control, and remove NetworkManager connection profiles. We need to know how to block non-root, non-sudo, non-administrator local users from having the ability to manipulate network connections.
Environment
- Red Hat Enterprise Linux (RHEL) 8
- Red Hat Enterprise Linux (RHEL) 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.