Hi all, I want to run a single command (gdm-restart) which has admin privileges as normal user. I have done these below steps so for.
But still not success. So kindly please let me know whether there is any procedure for my requirement.
Regards, Mastan
sudo would be the normal approach to running a program as super user.
Changing the ownership and giving write privilege to everyone for /usr/bin seems super crazy too.
And as this has nothing to do with Red Hat, I've moved the thread to another forum.
Hi Scott,
Thanks for your prompt reply. I know about how to run a command as normal user with administrator privileges using sudo. But my intention is run a single command which is having admin privileges as normal user. Is it possible ?
Have a look at setuid
setuid - Wikipedia, the free encyclopedia