aMule Forum
English => aMule Help => Topic started by: silelis on February 26, 2009, 11:58:59 AM
-
I compiled amule modules:
-amulecmd
-amuled
-amuleweb
-autostart-xas
-ed2k
I tried to start it (amuleweb) according to this instruction (http://www.amule.org/wiki/index.php/HowTo_Compile_aMuled) but no config file was appeard in dir.
Whot is wrong with it?
amuled output is:
amuled: OnInit - starting timer
Initialising aMuled 2.2.3 using v2.8.9
Checking if there is an instance already running...
No other instances are running.
ERROR: WARNING Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
HTTP download thread started
ListenSocket: Ok.
Loading temp files from /home/root/.aMule/Temp.
All PartFiles Loaded.
No shareable files found in directory: /home/root/.aMule/Incoming
ERROR: aMule daemon cannot be used when external connections are disabled. To enable External Connections, use either a normal aMule, start amuled with the option --ec-config or set the key"AcceptExternalConnections" to 1 in the file ~/.aMule/amule.conf
Now, exiting main app...
aMule OnExit: Terminating core.
aMule shutdown completed.
-
Please read the program output first thing. It contains two important messages:
a) Running aMule with root privileges is dangerous. Use a non-priviliged user to run aMule.
b) Start amuled with the --ec-config option to enable External connections, that is "amuled --ec-config".
-
a) Running aMule with root privileges is dangerous. Use a non-priviliged user to run aMule.
Becouse my host is set top sattelite tuner the main user is root and Linux by default starts as user (most of tuner function require root user)
I can add another users, but I don't know how to execute aMule as non-priviliged user.
Is it possible for example write start script in which I'll execute aMule as non-priviliged?
b) Start amuled with the --ec-config option to enable External connections, that is "amuled --ec-config".
I execute amuled --ec-config the output is:
amuled: OnInit - starting timer
Initialising aMuled 2.2.3 using v2.8.9
Checking if there is an instance already running...
No other instances are running.
EC configuration
Enter password for mule connection:
Password set and external connections enabled.
ERROR: WARNING Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
--------------------------------------------------
Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
--------------------------------------------------
HTTP download thread started
ListenSocket: Ok.
Loading temp files from /home/root/.aMule/Temp.
All PartFiles Loaded.
No shareable files found in directory: /home/root/.aMule/Incoming
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
No config file appeared in directory probably because I'm still root.
Some ideas how to execute it as non-priviliged user?