sudo Command for Network Manager (GUI)

Latest response

I'm trying to give a user permissions to use the GUI Network Manager function in RHEL 6 and only that function. Does anyone know how to setup my sudoers file (command string) to allow this activity but not allow anything else privileged?

Thank you.

Responses

Larry,

The command in question is nm-connection-editor, so this should be the correct syntax:

username    ALL=/usr/bin/nm-connection-editor

(Replace username with the appropriate user name.)

However, assuming you're going to run the command remotely using ssh -X, VNC etc., I'm not sure if it'll be possible for the connection editor executed through sudo to actually open its window. And if you're logged in to the GUI as username, then you don't need sudo; you can edit connections right away, can't you?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.