Archived
This forum has been archived. Please start a new discussion on GitHub.
Running server as `root' is not allowed
in Help Center
I am trying to get my IceGridNode to run a server as root. However, server will not start up with root privileges. It gives the error:
The IceGridNode process is running as root:
My application.xml specifies root as the user:
Is there something I am missing?
running server as `root' is not allowed
The IceGridNode process is running as root:
root 3984 0.0 0.4 294756 8928 ? Sl 11:25 0:00 /usr/bin/icegridnode --daemon --pidfile /var/run/icegridnode.pid --Ice.Config=/mnt/home/bdr/config.grid
My application.xml specifies root as the user:
<server id="BDRServer" exe="bdr_server_start.sh" activation="always" user="root">
Is there something I am missing?
0
Comments
-
As running a server as root represents a security risk you must set the property IceGrid.Node.AllowRunningServersAsRoot=1
See http://www.zeroc.com/doc/Ice-3.2.1/manual/PropRef.50.12.html for full details.0 -
I put that property in my config and it says:warning: unknown property: IceGrid.Node.AllowRunningServersAsRoot
That property doesn't show up in the Distributed Programming with Ice pdf either.0 -
What version of Ice are you using?0
-
The version is 3.2.0.0
-
Ok, thanks for your help.0