This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 8b9383cbe0898c554d4eeb8c0b03c3d03c8396ec Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Nov 12 05:55:57 2014 +0100 Also enforce /bin/sh as shell in su command in x2goprint. --- debian/changelog | 3 ++- x2goserver-printing/bin/x2goprint | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f1dbe31..7077f0d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -178,7 +178,8 @@ x2goserver (4.0.1.19-0x2go1) UNRELEASED; urgency=medium relevant options are provided at the beginning when evoking the "x2godesktopsharing client" command. - Make sure that all "su"-to-user-contexts use /bin/sh for wrapping around - the executed command (in x2gocleansessions and x2golistsessions_root) + the executed command (in x2gocleansessions and x2golistsessions_root). + - Also enforce /bin/sh as shell in su command in x2goprint. * debian/control: + Add D (x2goserver): libfile-which-perl. * x2goserver.spec: diff --git a/x2goserver-printing/bin/x2goprint b/x2goserver-printing/bin/x2goprint index 8c2dceb..0a7d805 100755 --- a/x2goserver-printing/bin/x2goprint +++ b/x2goserver-printing/bin/x2goprint @@ -52,7 +52,7 @@ sub check_usage if (scalar(@ARGV) == 1) { syslog('info', "x2goprint was called with only one cmd line arg, running in x2golistsessions wrapper mode"); - system ("su", "@ARGV[0]", "-c", "x2golistsessions --all-servers"); + system ("su", "@ARGV[0]", "-s", "/bin/sh", "-c", "x2golistsessions --all-servers"); exit 0; } elsif (scalar(@ARGV) != 4) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git