This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.1.x in repository x2goserver. commit d4185288de51ef9cf668de7bf8453b92dd28363e 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 9243961..98d2794 100644 --- a/debian/changelog +++ b/debian/changelog @@ -41,7 +41,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 c44329b..a378d3b 100755 --- a/x2goserver-printing/bin/x2goprint +++ b/x2goserver-printing/bin/x2goprint @@ -53,7 +53,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