[X2Go-Commits] x2gobroker.git - build-main (branch) updated: 14f559e001506c6aefb74a8c8c74470ab2dc3963

X2Go dev team git-admin at x2go.org
Sun May 19 13:02:55 CEST 2013


The branch, build-main has been updated
       via  14f559e001506c6aefb74a8c8c74470ab2dc3963 (commit)
      from  3acbb6d354fe3421197a568004bb135c7b6612bf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/x2gobroker-common.install |    1 -
 lib/x2gobroker-agent.pl          |    6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/debian/x2gobroker-common.install b/debian/x2gobroker-common.install
index aaba49d..e9793a9 100644
--- a/debian/x2gobroker-common.install
+++ b/debian/x2gobroker-common.install
@@ -1,2 +1 @@
 cgi/x2gobroker.cgi usr/lib/cgi-bin/
-x2gobroker etc/pam.d
\ No newline at end of file
diff --git a/lib/x2gobroker-agent.pl b/lib/x2gobroker-agent.pl
index 02b6b04..0d5b559 100755
--- a/lib/x2gobroker-agent.pl
+++ b/lib/x2gobroker-agent.pl
@@ -95,7 +95,7 @@ if($mode eq 'listsessions')
 {
 	InitX2GoUser($name, $uid, $gid, $home);
 	print "OK\n";
-	system "/bin/su", $name, "-c", "x2golistsessions --all-servers";
+	system "/bin/su - ", $name, "-c", "x2golistsessions --all-servers";
 }
 
 
@@ -103,7 +103,7 @@ if($mode eq 'getservers')
 {
 	InitX2GoUser($name, $uid, $gid, $home);
 	print "OK\n";
-	system "/bin/su", $name, "-c", "x2gogetservers";
+	system "/bin/su - ", $name, "-c", "x2gogetservers";
 }
 
 if($mode eq 'key')
@@ -118,7 +118,7 @@ if($mode eq 'suspend')
 	InitX2GoUser($name, $uid, $gid, $home);
 	print "OK\n";
 	my $sid=shift;
-	system "/bin/su", $name, "-c", "x2gosuspend-session $sid";
+	system "/bin/su - ", $name, "-c", "x2gosuspend-session $sid";
 }
 
 if($mode eq 'ping')


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list