Sounds like maybe you're using sudo?

I was starting SlimServer 6.3.x just fine as the slimserver user using
sudo in /etc/rc.local, and that was failing on 6.5.  I could su to the
slimserver user and start slimserver.pl, but could not execute it via
sudo.

Did some poking and ended up adding -H to the sudo flags and could
again start slimserver.pl as the slimserver user using sudo.

Old sudo line:
/usr/local/bin/sudo -u slimserver \ /usr/local/slimserver/slimserver.pl
--daemon --d_server \  --logfile=/usr/local/slimserver/log.txt

New sudo line:
/usr/local/bin/sudo -H -u slimserver \
/usr/local/slimserver/slimserver.pl --daemon --d_server \
--logfile=/usr/local/slimserver/log.txt


-- 
benh
------------------------------------------------------------------------
benh's Profile: http://forums.slimdevices.com/member.php?userid=6732
View this thread: http://forums.slimdevices.com/showthread.php?t=27618

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to