diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-03-02 19:42:42 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-03-02 19:42:54 +0100 |
commit | cd7f861d356b1606670a467d19dbcbb695571068 (patch) | |
tree | b94da3c3a136ac5cfc755e1ee7c1932f0937ab1b | |
parent | f0f387708fb34359039fe36ed1b61f14eab6a263 (diff) | |
download | spline-startup-cd7f861d356b1606670a467d19dbcbb695571068.tar.gz spline-startup-cd7f861d356b1606670a467d19dbcbb695571068.tar.bz2 spline-startup-cd7f861d356b1606670a467d19dbcbb695571068.zip |
Work for users with restricted shell, too
-rwxr-xr-x | spline-startup | 1 |
1 files changed, 1 insertions, 0 deletions
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))]) |