Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Normally only the root user has permission to run these commands. Is any way I can run these as a normal user?

share|improve this question

migrated from stackoverflow.com Jan 7 '13 at 7:35

This question came from our site for professional and enthusiast programmers.

No. They're inherently privileged system calls; only root can use them.

share|improve this answer

Maybe. You have to find a vulnerability and exploit it, or specify a uid_t that you are or were.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.