[X2go-Commits] x2goserver.git - master (branch) updated: 3.0.99-2-122-g99d6543

X2go dev team git-admin at x2go.org
Tue Jul 26 08:45:47 CEST 2011


The branch, master has been updated
       via  99d654359de69e986d1649ccb5e1b17a03f10c4d (commit)
      from  226086a5935aa13fb2e6222c111b5d1182a0fb8a (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 -----------------------------------------------------------------
commit 99d654359de69e986d1649ccb5e1b17a03f10c4d
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Tue Jul 26 08:45:31 2011 +0200

    restore behavior that allows 'root' to execute any command
    
    b053c030b22066f5a712e2c4dd25c0be0f7dc256 restricted certain commands to
    act only on the respective user. However, the user 'root' still needs to
    be able to execute any command.

-----------------------------------------------------------------------

Summary of changes:
 x2goserver/lib/x2gosqlitewrapper.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

The diff of changes is:
diff --git a/x2goserver/lib/x2gosqlitewrapper.pl b/x2goserver/lib/x2gosqlitewrapper.pl
index de8b5b9..9e40d3e 100755
--- a/x2goserver/lib/x2gosqlitewrapper.pl
+++ b/x2goserver/lib/x2gosqlitewrapper.pl
@@ -308,6 +308,7 @@ sub checkroot
 sub check_user
 {
 	my $sid=shift or die "argument \"session_id\" missed";
+	return if $realuser eq "root";
 	# session id looks like someuser-51-1304005895_stDgnome-session_dp24
 	my ( $user, $rest ) = split('-', $sid, 2);
 	$user eq $realuser or die "$realuser is not authorized (should be $user)";


hooks/post-receive
-- 
x2goserver.git (X2go Server)

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 "x2goserver.git" (X2go Server).




More information about the x2go-commits mailing list