Gnome 3 uses an authorization mechanism called polkit so the right way to run that executable as root is via pkexec:
pkexec allows an authorized user to execute PROGRAM as another user.
If username is not specified, then the program will be executed as the
administrative super user, root.
To authorize the user in the active session to run that command as root you'll have to define a new action (as per the above spec) via a XML file under /usr/share/polkit-1/actions , let's call it org.fedora.pkexec.kbback.policy.
Content of /usr/share/polkit-1/actions/org.fedora.pkexec.kbback.policy:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<icon_name>input-keyboard</icon_name>
<action id="org.fedora.pkexec.kbback">
<message>Authentication is required to Change Keyboard Backlight</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/backlight</annotate>
</action>
</policyconfig>
Next step is to assign the commands to your keyboard shortcuts via GNOME keyboard settings:
pkexec /usr/local/bin/backlight inc
pkexec /usr/local/bin/backlight dec
(note: I used /usr/local/bin/backlight as the path for my executable, you'll have to alter the action file and the two commands if your executable path is different)