Author Topic: How to run a program as root user in code blocks  (Read 8169 times)

Offline wwwnuwan

  • Single posting newcomer
  • *
  • Posts: 3
How to run a program as root user in code blocks
« on: March 22, 2009, 09:45:00 am »
Hi All,
  I am developing some message multi casting application in code::blocks.
when i run the program being in code::blocks it returns "Permission Denied" message at a particular method call  as the programs is not taken to run as root.

indeed I have installed code::blocks as a root user.

btw when i run the program using console with sudo command it works find.

please help me to overcome this problem.
thank you. 

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to run a program as root user in code blocks
« Reply #1 on: March 22, 2009, 09:57:23 am »
Please search before you post.
This question has been asked multiple times.

Searching for root gives you some possible solutions.

Nevertheless, the question is not related to C::B, but to the OS you use (most likely linux)  and therefore violating our forum rules.

Topic locked !

By the way, if you have C::B related question in future, it would be helpful to know which OS (and version of it) you are on and which version of C::B you use.