• 0
Will Su

root privileges problem

Question

How to enable or run as root? Thank you hercules staff!
[Fatal Error]: You are running Hercules with root privileges, it is not necessary, nor recommended. Aborting.

 

 

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0

 

After uncomment I got core warning and still not working

 

core.c: In function ‘usercheck’:
core.c:220:2: warning: #warning This Hercules build is not eligible to obtain support by the developers. [-Wcpp]
 #warning This Hercules build is not eligible to obtain support by the developers.
  ^
core.c:221:2: warning: #warning The setting I_AM_AWARE_OF_THE_RISK_AND_STILL_WANT_TO_RUN_HERCULES_AS_ROOT is deprecated and should not be used. [-Wcpp]
 #warning The setting I_AM_AWARE_OF_THE_RISK_AND_STILL_WANT_TO_RUN_HERCULES_AS_ROOT is deprecated and should not be used.

 

Edited by Will Su

Share this post


Link to post
Share on other sites
  • 0

Why do you want run hercules with root ? You just can't. You don't need.

 

The solution on this is to create another user to change the root?

Share this post


Link to post
Share on other sites
  • 0

Yup, must easier for everything, more safety. And you can't break your server. If you don't know how to do, check my guide at B.6 but don't read after step C. From Step D it follows the old conf system so no need to do it, it won't work.

Edited by Monsieur Panda

Share this post


Link to post
Share on other sites
  • 0

It was never recommended to run as root. However, we have recently changed source to disallow running it as root, instead of just giving a warning message.

Creating a user in linux is not so hard, but merely few commands, which you can find in guide from previous post.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now