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


Report forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#309; Package x2goserver. (Mon, 23 Sep 2013 10:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Mon, 23 Sep 2013 10:33:02 GMT) (full text, mbox, link).


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

Received: (at submit) by bugs.x2go.org; 23 Sep 2013 10:23:57 +0000
From mike.gabriel@das-netzwerkteam.de  Mon Sep 23 12:23:56 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_BLOCKED,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 5C30F5DB13
	for <submit@bugs.x2go.org>; Mon, 23 Sep 2013 12:23:56 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 156199D5
	for <submit@bugs.x2go.org>; Mon, 23 Sep 2013 12:23:56 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 09ABD3C153
	for <submit@bugs.x2go.org>; Mon, 23 Sep 2013 12:23:56 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ZiKu1DOGk6BT for <submit@bugs.x2go.org>;
	Mon, 23 Sep 2013 12:23:55 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id D98233C155
	for <submit@bugs.x2go.org>; Mon, 23 Sep 2013 12:23:55 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id C07963C153
	for <submit@bugs.x2go.org>; Mon, 23 Sep 2013 12:23:55 +0200 (CEST)
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 7D7EC3C155; Mon, 23 Sep 2013 12:23:55 +0200 (CEST)
Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de
 [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Mon, 23 Sep 2013 12:23:55 +0200
Message-ID: <20130923122355.13703meclu8eso1n@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Mon, 23 Sep 2013 12:23:55 +0200
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: Make x2goterminate-session / x2gosuspend-session operable as root
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_3jno3qzr620r";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
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.

Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#309; Package x2goserver. (Mon, 23 Sep 2013 11:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <newsgroups.mail2@stefanbaur.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Mon, 23 Sep 2013 11:03:02 GMT) (full text, mbox, link).


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


Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#309; Package x2goserver. (Mon, 23 Sep 2013 21:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Mon, 23 Sep 2013 21:33:02 GMT) (full text, mbox, link).


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

Received: (at 309) by bugs.x2go.org; 23 Sep 2013 21:27:37 +0000
From mike.gabriel@das-netzwerkteam.de  Mon Sep 23 23:27:36 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,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 8DD425DA6C
	for <309@bugs.x2go.org>; Mon, 23 Sep 2013 23:27:36 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 43AC6A75
	for <309@bugs.x2go.org>; Mon, 23 Sep 2013 23:27:36 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 205F13BF1D
	for <309@bugs.x2go.org>; Mon, 23 Sep 2013 23:27:36 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id NyZmKBBcWWRf for <309@bugs.x2go.org>;
	Mon, 23 Sep 2013 23:27:35 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 4209C3BEC6
	for <309@bugs.x2go.org>; Mon, 23 Sep 2013 23:27:35 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 0D96F3BB45
	for <309@bugs.x2go.org>; Mon, 23 Sep 2013 23:27:34 +0200 (CEST)
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 65DFC3BE3F; Mon, 23 Sep 2013 23:27:33 +0200 (CEST)
Received: from pD9E9E7BE.dip0.t-ipconnect.de (pD9E9E7BE.dip0.t-ipconnect.de
 [217.233.231.190]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Mon, 23 Sep 2013 23:27:33 +0200
Message-ID: <20130923232733.175016qodss5ek3p@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Mon, 23 Sep 2013 23:27:33 +0200
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Stefan Baur <newsgroups.mail2@stefanbaur.de>
Cc: 309@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#309: Make x2goterminate-session /
 x2gosuspend-session operable as root
References: <20130923122355.13703meclu8eso1n@mail.das-netzwerkteam.de>
 <52401D1B.2060502@stefanbaur.de>
In-Reply-To: <52401D1B.2060502@stefanbaur.de>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_atgd9zlehqd";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
Hi Stefan,

On Mo 23 Sep 2013 12:51:07 CEST Stefan Baur wrote:

> 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

With the SQLite backend this surely is the case.

> 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. ;-)

With PostgreSQL, you get this:

"""
x2goterminate-session mga-54-1379970522_stRTERMINAL_dp24
DBD::Pg::st execute failed: ERROR:  permission denied for relation  
sessions_view at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 417.
Died at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 417.
DBD::Pg::st execute failed: ERROR:  permission denied for relation  
sessions_view at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 328.
Died at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 328.
"""

Nowadays, the x2gocleansessions daemon script can handle  
suspend/terminate through a change in the session database.

x2goterminate-session and x2gosuspend-session should utilize this new feature.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#309; Package x2goserver. (Mon, 23 Sep 2013 21:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <newsgroups.mail2@stefanbaur.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Mon, 23 Sep 2013 21:33:02 GMT) (full text, mbox, link).


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

Received: (at 309) by bugs.x2go.org; 23 Sep 2013 21:31:09 +0000
From newsgroups.mail2@stefanbaur.de  Mon Sep 23 23:31:08 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=ham version=3.3.2
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186])
	by ymir (Postfix) with ESMTP id A169C5DA6C
	for <309@bugs.x2go.org>; Mon, 23 Sep 2013 23:31:08 +0200 (CEST)
Received: from [192.168.0.3] (HSI-KBW-149-172-200-27.hsi13.kabel-badenwuerttemberg.de [149.172.200.27])
	by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis)
	id 0LhiWz-1WAhcz19u5-00mbbq; Mon, 23 Sep 2013 23:31:08 +0200
Message-ID: <5240B329.7050601@stefanbaur.de>
Date: Mon, 23 Sep 2013 23:31:21 +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>
CC: 309@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#309: Make x2goterminate-session / x2gosuspend-session
 operable as root
References: <20130923122355.13703meclu8eso1n@mail.das-netzwerkteam.de> <52401D1B.2060502@stefanbaur.de> <20130923232733.175016qodss5ek3p@mail.das-netzwerkteam.de>
In-Reply-To: <20130923232733.175016qodss5ek3p@mail.das-netzwerkteam.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:a8asGDXOtFTc1moQXUwCwa6Bm8khsfr9++65jGby/WK
 wvSH8+KUHhZWJeye1Ek7uZ6egIbzJVkzPT+uu+1r3l6F/A84Zk
 CHtMSplIvtR2FaM9I2FPJ8a1kq+uMU7yObBDzjwTK69i9zdNWk
 y7Rsj3yagRyAoJ9T41ZnIlGZbwbYCUVeBDQe2SGvwfnoOCFDqB
 LnEywUh1OuB3VZlYr+zaLjuDtz/pSu+dqqPnTpDhRFtks2/Su7
 664KrtgnFTjPxrTegkLwNfPNf2J1xVTrNV4G6hByzUaoP/x3uo
 mH1skezq3UesFCzUiDnkw0y+DOoNS2odT3WC9Z09iucKLzh3iN
 Fdo25bSNk3HJrowWeKPnY+IOhlsvdxKUd0V5Mq3rt
Am 23.09.2013 23:27, schrieb Mike Gabriel:
> [x2goterminate-session working as expected]
> With the SQLite backend this surely is the case.
>
>> 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. ;-)
>
> With PostgreSQL, you get this:
>
> """
> x2goterminate-session mga-54-1379970522_stRTERMINAL_dp24
> DBD::Pg::st execute failed: ERROR:  permission denied for relation 
> sessions_view at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 417.
> Died at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 417.
> DBD::Pg::st execute failed: ERROR:  permission denied for relation 
> sessions_view at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 328.
> Died at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 328.
> """
>
> Nowadays, the x2gocleansessions daemon script can handle 
> suspend/terminate through a change in the session database.
>
> x2goterminate-session and x2gosuspend-session should utilize this new 
> feature.

That sounds like it makes sense. ;-) And now the bug/wishlist 
description is detailed enough that we'll all still remember what this 
was about, 6 months down the road. ;-)

-Stefan


Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#309; Package x2goserver. (Tue, 24 Sep 2013 08:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Moritz Struebe <Moritz.Struebe@informatik.uni-erlangen.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Tue, 24 Sep 2013 08:03:02 GMT) (full text, mbox, link).


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

Received: (at 309) by bugs.x2go.org; 24 Sep 2013 07:56:55 +0000
From Moritz.Struebe@informatik.uni-erlangen.de  Tue Sep 24 09:56:54 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,
	T_FILL_THIS_FORM_SHORT,URIBL_BLOCKED autolearn=ham version=3.3.2
X-Greylist: delayed 578 seconds by postgrey-1.34 at ymir; Tue, 24 Sep 2013 09:56:54 CEST
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.40])
	by ymir (Postfix) with ESMTPS id D59FC5DA6C
	for <309@bugs.x2go.org>; Tue, 24 Sep 2013 09:56:54 +0200 (CEST)
Received: from [IPv6:2001:638:a000:4134::ffff:51] (faui48e.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:51])
	by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id BC94E58C4AF;
	Tue, 24 Sep 2013 09:47:15 +0200 (CEST)
Message-ID: <52414383.7040104@informatik.uni-erlangen.de>
Date: Tue, 24 Sep 2013 09:47:15 +0200
From: Moritz Struebe <Moritz.Struebe@informatik.uni-erlangen.de>
Organization: Uni Erlangen-Nuernberg
User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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
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>
X-Enigmail-Version: 1.5.2
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms060600080908030904080003"
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-09-23 12:23, Mike Gabriel wrote:
> 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.

Hmm, but the super user can su to the user owning the session, right?

Morty

- -- 
Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter)
Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme)
Friedrich-Alexander-Universität Erlangen-Nürnberg
Martensstr. 1
91058 Erlangen

Tel   : +49 9131 85-25419
Fax   : +49 9131 85-28732
eMail : struebe@informatik.uni-erlangen.de
WWW   : http://www4.informatik.uni-erlangen.de/~morty


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSQUNwAAoJEG/nl4s6YOSIhVQIAKjM+90UYWOyz8gFa8qZP4X0
qIRfXTZZ45OnMf8+SBaVXurISGncHk8kZ6YEA10QhFBLt+GLie8w7K0rYaEDK7Jl
/Eu3jCtumPlDxC9BCQfawbmXG8caiWUgNkuPAipMcChMhgW/J/JDM3nAErQkWyht
F6J1kJuqKCs2U3h8OQL/19umISkh11ePFIVfXmWNe/v2pkD/6YSZZnoGFwoOoiUU
MC+6Uv8csVZa7bHJSJVMzrkhxrW0jNZBlOtVfqEMtryV5GbCLBBGUo/hlt8pnyLF
d0tKHWvl+PmVq+DHTtaizJHAXisjULiG+C0uCQ5ZAXlQzluUci0fzH75RUNR2Ig=
=uZyM
-----END PGP SIGNATURE-----


[smime.p7s (application/pkcs7-signature, attachment)]

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#309; Package x2goserver. (Tue, 24 Sep 2013 08:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Tue, 24 Sep 2013 08:33:01 GMT) (full text, mbox, link).


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

Received: (at 309) by bugs.x2go.org; 24 Sep 2013 08:19:11 +0000
From mike.gabriel@das-netzwerkteam.de  Tue Sep 24 10:19:11 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,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 132C65DA6C
	for <309@bugs.x2go.org>; Tue, 24 Sep 2013 10:19:11 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id C0689C72
	for <309@bugs.x2go.org>; Tue, 24 Sep 2013 10:19:10 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id B73E53B9E4
	for <309@bugs.x2go.org>; Tue, 24 Sep 2013 10:19:10 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id PqtH759B7eeG for <309@bugs.x2go.org>;
	Tue, 24 Sep 2013 10:19:10 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 8E7933C014
	for <309@bugs.x2go.org>; Tue, 24 Sep 2013 10:19:10 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 707DB3B9E4
	for <309@bugs.x2go.org>; Tue, 24 Sep 2013 10:19:10 +0200 (CEST)
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 1DC6E3BF23; Tue, 24 Sep 2013 10:19:10 +0200 (CEST)
Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de
 [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Tue, 24 Sep 2013 10:19:10 +0200
Message-ID: <20130924101910.92526grl1bvaiwhq@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Tue, 24 Sep 2013 10:19:10 +0200
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Moritz Struebe <Moritz.Struebe@informatik.uni-erlangen.de>
Cc: 309@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#309: Make x2goterminate-session /
 x2gosuspend-session operable as root
References: <20130923122355.13703meclu8eso1n@mail.das-netzwerkteam.de>
 <52414383.7040104@informatik.uni-erlangen.de>
In-Reply-To: <52414383.7040104@informatik.uni-erlangen.de>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_e1iv6fga9ku";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
Hi Morty,

On Di 24 Sep 2013 09:47:15 CEST Moritz Struebe wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2013-09-23 12:23, Mike Gabriel wrote:
>> 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.
>
> Hmm, but the super user can su to the user owning the session, right?

Basically correct, but this does not help on larger setups where the  
homes are on AFS or NFSv4+Krb5.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#309; Package x2goserver. (Tue, 15 Nov 2016 07:05:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:20:30 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.