Millwood;236459 Wrote: > I'd like to run the slimserver as me rather than as slimserver, but > still use start-stop-daemon and init.d. > > This is under debian. > > I tried hacking at the slimserver script in init.d but can't get it to > work. If I change the user to me, I'm told that something can't change > gid to nobody. > > Please point me at info, or help me explain coherently what I'm trying > to do.
You should be able to change the SLIMUSER in /etc/init.d/slimserver from "$NAME" to your username. However you will need to fix all the permissions for the various files to be owned by you. You don't want to change the NAME variable. I think this set of chowns will work: rm /var/run/slimserver.pid chown -R millwood /etc/slimserver /var/log/slimserver /var/cache/slimserver -- SuperQ ------------------------------------------------------------------------ SuperQ's Profile: http://forums.slimdevices.com/member.php?userid=2139 View this thread: http://forums.slimdevices.com/showthread.php?t=39465 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
