From cd7f861d356b1606670a467d19dbcbb695571068 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 2 Mar 2016 19:42:42 +0100 Subject: Work for users with restricted shell, too --- spline-startup | 1 + 1 file changed, 1 insertion(+) diff --git a/spline-startup b/spline-startup index 72c306e..4881f61 100755 --- a/spline-startup +++ b/spline-startup @@ -123,6 +123,7 @@ class SplineStartup(object): if use_su: returnvalue = self._call(['su', '-', user.pw_name, + '-s', '/bin/sh', '-c', 'run-parts %s -- %s' % (' '.join(args), quote(directory))]) -- cgit v1.2.3-1-g7c22