2009-07-12 15:58:28 -04:00
|
|
|
$OpenBSD: patch-slimserver_pl,v 1.3 2009/07/12 19:58:28 sthen Exp $
|
|
|
|
--- slimserver.pl.orig Mon Jun 15 23:02:33 2009
|
|
|
|
+++ slimserver.pl Sat Jul 4 15:00:23 2009
|
|
|
|
@@ -816,7 +816,7 @@ sub changeEffectiveUserAndGroup {
|
2008-10-17 05:59:26 -04:00
|
|
|
# MySQL can't be run as root, and it's generally a bad idea anyways.
|
|
|
|
# Try starting as 'slimserver' instead.
|
|
|
|
if (!defined($user)) {
|
|
|
|
- $user = 'slimserver';
|
|
|
|
+ $user = '_squeezecenter';
|
|
|
|
print STDERR "SqueezeCenter must not be run as root! Trying user $user instead.\n";
|
|
|
|
}
|
|
|
|
|