problems setting default user in linux
So this is essencially the same question as this one: http://forum.subsonic.org/forum/viewtopic.php?f=2&t=14637&p=64071&hilit=setting+user+to+not+root#p64071. but since that one was never answered I thought I would ask again. There are tutorials out there for linux users to change their default user for subsonic (defaults to root which less desireable) Every tutorial I found mentioned going to /etc/default/subsonic and 'changing' SUBSONIC_USER=root to SUBSONIC_USER=<mynewusername>. There were more instructions that went into this but this is the one where myself and this other fella seem to have gotten stuck. My version of /etc/default/subsonic did not contain the value SUBSONIC_USER to change. here is the entirety of the file:
I attempted adding SUBSONIC_USER=subsonic and SUBSONIC_USER="subsonic" (a user that is both created and granted proper permissions) both before and after the SUBSONIC_ARGS line and still with every service restart and login I am getting the red 'Warning! The Subsonic process is running as the root user. Please consider to change this.'
Any help would be greatly appreciated.
- Code: Select all
# This is the configuration file for the Subsonic service
# (/etc/init.d/subsonic)
#
# To change the startup parameters of Subsonic, modify
# the SUBSONIC_ARGS variable below.
#
# Type "subsonic --help" on the command line to read an
# explanation of the different options.
#
# For example, to specify that Subsonic should use port 80 (for http)
# and 443 (for https), and use a Java memory heap size of 120 MB, use
# the following:
#
# SUBSONIC_ARGS="--port=80 --https-port=443 --max-memory=120"
SUBSONIC_ARGS="--max-memory=100"
~
~
~
I attempted adding SUBSONIC_USER=subsonic and SUBSONIC_USER="subsonic" (a user that is both created and granted proper permissions) both before and after the SUBSONIC_ARGS line and still with every service restart and login I am getting the red 'Warning! The Subsonic process is running as the root user. Please consider to change this.'
Any help would be greatly appreciated.