slamhound;451508 Wrote: > Thanks. I'm not sure I want to enable login as su, as it seems that it > is not recommended for security reasons (though I'm still relatively new > to Ubuntu, so will read up some more about it). > > Any idea why the script needs to run this command with su in the first > place? Although running the script asks me for my password, simply > running: > > /path/to/MusicMagicServer start works without needing sudo or a > password. > > In fact, if I edit the script so that the line that reads: > > su - <user> -c $MUSICHOME"MusicMagicServer start & > /dev/null" > > now reads > > /path/to/MusicMagicServer start & > /dev/null > > then I can run the script from the command line and it works with no > password. It still doesn't run at boot; but this might be progress.
Try to add this line to your /etc/rc.local file: /path/to/MusicMagicServer start & > /dev/null -- raven22 ------------------------------------------------------------------------ raven22's Profile: http://forums.slimdevices.com/member.php?userid=16511 View this thread: http://forums.slimdevices.com/showthread.php?t=66953 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
