The branch, master has been updated via 53adb07b76bb94e9a0e0aed5f65ba633016535ea (commit) from 9f9c0d251d2c8e425419b6538d7bc1cb6f28c620 (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 53adb07b76bb94e9a0e0aed5f65ba633016535ea Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Dec 11 11:56:14 2013 +0100 add license header to x2gobroker-daemon-debug, test for EUID=0 before executing the session broker ----------------------------------------------------------------------- Summary of changes: sbin/x2gobroker-daemon-debug | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) The diff of changes is: diff --git a/sbin/x2gobroker-daemon-debug b/sbin/x2gobroker-daemon-debug index e80fb1f..bd500c3 100755 --- a/sbin/x2gobroker-daemon-debug +++ b/sbin/x2gobroker-daemon-debug @@ -1,4 +1,30 @@ #!/bin/bash +# -*- coding: utf-8 -*- + +# This file is part of the X2Go Project - http://www.x2go.org +# Copyright (C) 2011-2013 by Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> +# Copyright (C) 2011-2013 by Heinz-Markus Graesing <heinz-m.graesing@obviously-nice.de> +# Copyright (C) 2012-2013 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +# +# X2Go Session Broker is free software; you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# X2Go Session Broker is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +if [[ $EUID -ne 0 ]]; then + echo "$(basename $0): You must be the root super-user to launch this command..." 2>&1 + exit 1 +fi if [ -e /etc/default/python-x2gobroker ]; then . /etc/default/python-x2gobroker @@ -10,4 +36,4 @@ fi export X2GOBROKER_DEBUG=true -su - x2gobroker -c "x2gobroker -M http -i" \ No newline at end of file +su - x2gobroker -c "x2gobroker -M http -i" 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).