From unknown Tue Mar 19 08:34:56 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#309: [X2Go-Dev] Bug#309: Make x2goterminate-session / x2gosuspend-session operable as root Reply-To: Stefan Baur , 309@bugs.x2go.org Resent-From: Stefan Baur Resent-To: x2go-dev@lists.berlios.de Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Mon, 23 Sep 2013 11:03:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 309 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 309-submit@bugs.x2go.org id=B309.137993376120277 (code B ref 309); Mon, 23 Sep 2013 11:03:02 +0000 Received: (at 309) by bugs.x2go.org; 23 Sep 2013 10:56:01 +0000 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 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 , 309@bugs.x2go.org, x2go-dev@lists.berlios.de CC: submit@bugs.x2go.org 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