X2Go Bug report logs - #309
Make x2goterminate-session / x2gosuspend-session operable as root

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Mon, 23 Sep 2013 10:33:02 UTC

Severity: wishlist

Full log


Message #10 received at 309@bugs.x2go.org (full text, mbox, reply):

Received: (at 309) by bugs.x2go.org; 23 Sep 2013 10:56:01 +0000
From newsgroups.mail2@stefanbaur.de  Mon Sep 23 12:56:01 2013
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,
	SPF_HELO_PASS autolearn=unavailable version=3.3.2
X-Greylist: delayed 302 seconds by postgrey-1.34 at ymir; Mon, 23 Sep 2013 12:56:01 CEST
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186])
	by ymir (Postfix) with ESMTP id 102615DB13
	for <309@bugs.x2go.org>; Mon, 23 Sep 2013 12:56:01 +0200 (CEST)
Received: from [192.168.0.3] (dslb-088-067-144-215.pools.arcor-ip.net [88.67.144.215])
	by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis)
	id 0LdVQI-1W6mTw11Va-00ikB6; Mon, 23 Sep 2013 12:50:58 +0200
Message-ID: <52401D1B.2060502@stefanbaur.de>
Date: Mon, 23 Sep 2013 12:51:07 +0200
From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 309@bugs.x2go.org, 
 x2go-dev@lists.berlios.de
CC: submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#309: Make x2goterminate-session / x2gosuspend-session
 operable as root
References: <20130923122355.13703meclu8eso1n@mail.das-netzwerkteam.de>
In-Reply-To: <20130923122355.13703meclu8eso1n@mail.das-netzwerkteam.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:MlPSmZhT1gfImTAUjUrJ93ELjB0pw5ebbkuVYvuCdT9
 Gt3V/5PXKn9/yphO1KROPLK5fjaVQIRkcRl0a57BaGMMPQqIhR
 69hE03cykh5cARL5NNcXiXfCM0aru/65D7113z7S0gNCl6+TTN
 gx98Ug6RbDial40LZ8q9uRuMYr5mDxUPikmAsfJAnppIF/nLAu
 q8xfLcAvjFQ33gl3t1B5+4fGJuvCQA4XmnmAy+jL+UcH3hQ/nD
 yHc5c3lYjspgU4IxMMb41RXiyds6RXJwbJ/EEl1f7yAasyruP1
 ZJNKvxVLcvMucxZfZkmG159QnEwi+rgVjKwfZ7GAcEnS4uGtrN
 LnBcFUHI2CDDtBtsvaBUqpVeFUsu3cJg3pPQoiURk
Am 23.09.2013 12:23, schrieb Mike Gabriel:
> Package: x2goserver
> Severity: wishlist
>
> Currently, only the user owning a session can suspend/terminate that 
> session.
>
> The super-user root should also be eligible to act on user sessions 
> with those commands.
>
> This should work from any x2goserver (in a multi-node farm) and with 
> SQLite and PostgreSQL db backend.

We're only using single node mode, but here, terminating sessions from 
root works (or at least, it did last time we needed it).
x2golistsessions_root | awk -F '|' '{ print $2 " " $12 "@" $8 }' # lists 
session-IDs followed by username@clientname
x2goterminate-session $SESSIONID # this terminates the session with the 
named ID when called by root

Never tried suspend, but there's x2gosuspend-session which should work 
the same way.

So, either you missed that or your bug report should contain a few more 
details as to what functionality you need and what is missing, I'd say. ;-)

-Stefan


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Mar 19 07:16:46 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.