The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.34 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
Synology package running as root?
25-02-2017, 03:39
Post: #1
Synology package running as root?
Hello,

I've started using the synology package and I have noticed that it triggers the process to run as root on the NAS:

Code:
root      1040     1  8 11:30 ?        00:00:17 /var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/java -jar /volume1/@appstore/MinimServer/lib/mserver.jar --noprompt --nohup

Would it be possible to have it run as a dedicated user? For example, the also excellent BubbleUPNP synology package does it perfectly:

Code:
bubbleu+ 31167     1 12 11:29 ?        00:00:35 /var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/java -Xss256k -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -jar BubbleUPnPServerLauncher.jar -nologstdout -logFileMaxSize 250000 -dataDir /var/services/homes/bubbleupnp/appData

That would be much more secure for the java process to run with much less privilege.

Keep up the good work!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Synology package running as root? - zormuf - 25-02-2017 03:39

Forum Jump:


User(s) browsing this thread: 1 Guest(s)