Software Defined Networking
1830168 Members
5371 Online
109999 Solutions
New Discussion

Run as root

 
sepbot
Advisor

Run as root

In order for my application to work properly I need to run it with super user privileges but when it is run as a bundle on the HP VAN controller, it is run as the unprivileged 'sdn' user.

 

If I modify the start scripts to run the controller as the root user, the controller starts up but it fails to function and I see a lot of exceptions in the output logs.

 

What can I do if I need root access in my application?

3 REPLIES 3
sdnindia
Trusted Contributor

Re: Run as root

Hello sepbot,

 

Could you please provide the below-

1.HP VAN controller version

2. what modification did you make and in which file

3. exception logs/screenshot

 

Thanks,

HP SDN Team

sepbot
Advisor

Re: Run as root

Hi sdnindia,

 

Let's assume that I have not done anything yet and would like to run the controller (version 2.x +) as the root user. How would I go about doing that?

 

Regards,

Sepehr Hosseini.

cmaxwell
Advisor

Re: Run as root

Hello sepbot,

 

The controller and apps are designed to function only with non-root user due to security considerations.  Are you able to share why your app needs to run with root privileges?