How would I implement a GKSUDO -like privilege escalation control on CentOS 6.5 workstations? (standard GNOME config, x86_64 and i386)

I do not want to share the root password with users, and some of the applications & commands they use do not work properly -- or at all -- when launching them from a Terminal with $ sudo <application> <flags>.

Essentially, I would like to have CentOS 6.5 require authentication for privilege escalation operate pretty much exactly like Ubuntu/Unity has for some time now.

  • @strugee Thanks for the edit; can you explain how the not-root-user tag is not applicable? My question is exactly that; I don't want to give the users the rootpw, so they are not root users, but they need to escalate privilege, not "become root". Also, why is the /CentOS6 tag not relevant?
    – 0xSheepdog
    Mar 19, 2014 at 16:32
  • 1
    it's about usage. generally we use not-root-user for questions about when you're not the root user, not implementing this for someone else. and the version of CentOS isn't really important (CentOS is enough). if you want, feel free to roll back - but that's my perspective.
    – strugee
    Mar 19, 2014 at 20:09

1 Answer 1


Take a look at the CentOS wiki, titled: How To Become Root. The application you're looking for is called consolehelper.

  • Thanks @slm. consolehelper came up in my previous searches, but the articles were all 10+ years old, and none mentioned PAM *iirc. I will dig into the PAM doco (ugh) and let you know how it goes. This may be what I need; I'll come back and mark it Answered if so. Much appreciated.
    – 0xSheepdog
    Mar 19, 2014 at 17:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.