X2Go Bug report logs - #1145
x2godbadmin + postgres + non-existent home directory = wrong ownerships

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

Reported by: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Date: Tue, 7 Feb 2017 13:15:02 UTC

Severity: normal

Full log


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1145; Package x2goserver. (Tue, 07 Feb 2017 13:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 07 Feb 2017 13:15: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; 7 Feb 2017 13:11:18 +0000
From X2Go-ML-1@baur-itcs.de  Tue Feb  7 14:11:17 2017
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.5 required=3.0 tests=BAYES_40,RCVD_IN_SORBS_SPAM
	autolearn=no version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 4D23B5DA49
	for <submit@bugs.x2go.org>; Tue,  7 Feb 2017 14:11:17 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id iZeOc2NeCB2q for <submit@bugs.x2go.org>;
	Tue,  7 Feb 2017 14:11:10 +0100 (CET)
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id EB28F5DA2D
	for <submit@bugs.x2go.org>; Tue,  7 Feb 2017 14:11:09 +0100 (CET)
Received: from [192.168.0.23] ([78.43.90.159]) by mrelayeu.kundenserver.de
 (mreue104 [212.227.15.145]) with ESMTPSA (Nemesis) id
 0LbagN-1c8fTS0SHT-00lCL6 for <submit@bugs.x2go.org>; Tue, 07 Feb 2017
 14:11:09 +0100
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: submit@bugs.x2go.org
Subject: x2godbadmin + postgres + non-existent home directory = wrong
 ownerships
Message-ID: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de>
Date: Tue, 7 Feb 2017 14:10:44 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="SPC0gVL5keIis9lSnB9KngdroAoG5hkkA"
X-Provags-ID: V03:K0:FtZPxmnSp98oAcm42LVueVM3D0vGYRACPIhgrbhmaNd7GW/HtDZ
 lXa0+m/NqHLdc0qpGyjquS1IZZFoisQJ6NcRYpQ/HRG2fR49iVNlrKlRFOl/NrPWcw5C/bw
 wqqOfAXueaTeTtO+BP8iQeaFcuTtWHwO+dJi3gHIU6d1kOA7FSWHG4Jj0wH3VOZmUe37Q1G
 S5eXpxecs0g0i0AcqEyTw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:JeIDDkOVbKo=:+ohNp0KG/W3meDWvfSYfBt
 HWOarbuyagQAFh2+vohrk1h/4Y8DQT1gHx09UuUy3T94kA9xgl1J98sZqQeC6hYLMZz6q6zRN
 MiGFuTh9IYOAr8uwJqYJyzA9ZOzpxQ24O/9lYfBI8tFgelCJYpSqRtRlVnv/OCUW4YtG0yeZa
 MkB1HS8EceNJxxYTNM8Z5PygNP2raHe7RQ+uB0g9rnfrUjp6XGgovBXnMPhO2+TPKRR1/MoxF
 Iw6f7+MAdCeHVrndZCWcJ/vmecKutq2+vXGjFjtIfCMN7F0stqHre6y5AbHvgJp9JciW2pL3b
 P8LbXX88xxiBA+hFnX6O4Ckfm39t/rWeRULdVoRIkZ91YzlowQCdGO/pF/iFBCtRp7gcDgeGn
 GiUpPERdjEzT5aSnlrcXKfUK6VvDnEcOUgLsQYdA8i0pAMId/BULyU/o3z1J0+mznpCD6nm9B
 Y+o/wYiPcQvMTDkc7SY1AGIiZAA2OtOzcQYR1ZLKSeELWHK6TodemF2+u6uBRDNi/cMTFfl4U
 5CqyFgNdpsrfeUg9teCCazZweqgPCGdxVS4BIqYPSq+19GT3YAQhplLMp85uyXuDMxFbjCOfV
 /3StAnwGmJJUNwrFygS9y8hg03HKeSDD9HFgdtjkJb3GUEsj1iGGXaMyun/kQUOe8y5IUINjp
 LymLpdDOoJn9Jv7rNUjbn0KbsTmwdUfn7y+xRAMxKSWpKd3h9L3EIZEl/E0fuM//vFas=
[Message part 1 (text/plain, inline)]
package: x2goserver

When x2godbadmin is used with a postgres database, and the user name
given doesn't yet have a home directory, it creates this home directory.
(see line 368 and following of /usr/sbin/x2godbadmin).

However, it fails to set the proper UID/GID ownerships for
/home/<username> - only the files below it have the proper ownership.

The proper way how to determine the correct UID for /home/<username> is
simple - use the UID that has been determined previously and that is
used as $uid within /usr/sbin/x2godbadmin.

The proper way how to determine the correct *GID* is more tricky, I
believe.  I can only speak for Debian here - this may be
distribution-specific:

You need to check if /etc/default/useradd contains a line
USERGROUPS_ENAB=yes
(which might also be "yes", or 'yes', or Yes, YES, ... you get the idea)

Check if that value is set to any variant of yes, or not set at all:
If yes: Check if the user already has a group named after them:
        If yes, use the GID of that group.
        If no, create a new group with a name matching the username,
        and assign the GID of that group.

If no (meaning the value is set to any variant of no, "no", 'no', No, etc.):
      Check if /etc/default/useradd contains a valid GID value for
      a variable named GROUP:
      If it does, assign that GID.
      If it doesn't, assign GID 100.

This pseudocode builds on the documentation found in "man useradd" on
Debian Jessie, after confirming the default value of USERGROUPS_ENAB is,
in fact, "unset".

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1145; Package x2goserver. (Tue, 07 Feb 2017 22:15:01 GMT) (full text, mbox, link).


Acknowledgement sent to Nable <nable.maininbox@googlemail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 07 Feb 2017 22:15:02 GMT) (full text, mbox, link).


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

Received: (at 1145) by bugs.x2go.org; 7 Feb 2017 22:14:21 +0000
From nable.maininbox@googlemail.com  Tue Feb  7 23:14:21 2017
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.2 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_SORBS_SPAM,URIBL_BLOCKED
	autolearn=no version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 11F775DA49
	for <1145@bugs.x2go.org>; Tue,  7 Feb 2017 23:14:21 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WOMusSQj5azT for <1145@bugs.x2go.org>;
	Tue,  7 Feb 2017 23:14:14 +0100 (CET)
Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 0CD5F5DA2D
	for <1145@bugs.x2go.org>; Tue,  7 Feb 2017 23:14:14 +0100 (CET)
Received: by mail-oi0-f53.google.com with SMTP id w204so73169896oiw.0
        for <1145@bugs.x2go.org>; Tue, 07 Feb 2017 14:14:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20161025;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
        bh=NYRVo/+3IJgW7ZDfYLqoWQ9LO2sCy+f8PQWaClOX+I8=;
        b=rJ+/ufqolJbKnBhjyzu4TfpqVMCM5M1YKbPpsiuQ+mMwXxGrHikj88RlwghA40iz1c
         IHP6orp6qabLdN83/7RHzK/D5xAPYexRxJQg6gHwFW6G9ofEBAP9QWneaI9fy9QgUeJi
         Tk7nOyT6VMTA0X2njE45IUFgieUdcQ8BHUKd9urRUL7kgiZjoAy7pMY4DevFiXlItNnL
         OSh38KcNh52bzbBdNuvf52bpTqRs9VNyPHIreu2e7cWniZ8Q7VDfjhRprJWdJr37n6/p
         NUxEPRz0PrzhBOP+8mo0fmfM4lI0I/KAu/rDZMSr/AwdEGoqS8WJ083GA9E+wttKfBak
         QoUQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to;
        bh=NYRVo/+3IJgW7ZDfYLqoWQ9LO2sCy+f8PQWaClOX+I8=;
        b=ihMvDPcRvMIZ+42vKwt7n37WyqEQdInRQMv+nenq6VmM8McmIoWDEoJNH86evnYlgv
         kIAiOlv6eb/HELutsEqBtbFb7e8NDeYZANkO8SZ2zLhqTSTRl/FDs3vyhThYK4tFuCjt
         77M3ACap+nM05iszLJwmgFFNfJbpuNnXbOeRE14qx5VzhtUsv2kqPCVfFEkkdVFo9u7G
         DxFdoF2+Sti2O4aUNj+3v+DfMA+uKyR3TZZQ1LgkGP2+lFU2n3Z+YiwYzFSklmsypOjz
         JmOF2o8FJaimlnB0CERNot33qtjagdZ9cKQSLpKnoUyFCgqMJEtUTlmxFaGCe9AvNhA2
         tN+g==
X-Gm-Message-State: AMke39l3ZkEOEJJsdbPFOlnRgStREQBn/djAFKYd7cm+pHX2U3ir2iMJSedM2QikJk8k/i0wiEdpENTINCAQrg==
X-Received: by 10.202.108.84 with SMTP id h81mr8240542oic.10.1486505652673;
 Tue, 07 Feb 2017 14:14:12 -0800 (PST)
MIME-Version: 1.0
Received: by 10.182.104.103 with HTTP; Tue, 7 Feb 2017 14:14:12 -0800 (PST)
In-Reply-To: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de>
References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de>
From: Nable <nable.maininbox@googlemail.com>
Date: Wed, 8 Feb 2017 01:14:12 +0300
Message-ID: <CALxOYEbeJfQ2Ona6urYjPezRbMBx8zGvuQShvnwGN5m3zo1fTA@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1145: x2godbadmin + postgres + non-existent home
 directory = wrong ownerships
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 1145@bugs.x2go.org
Content-Type: text/plain; charset=UTF-8
Hi, Stefan.

> When x2godbadmin is used with a postgres database, and the user name
> given doesn't yet have a home directory, it creates this home directory.
I've thought that creation of home directories is a task for useradd
(for local users) or pam_mkhomedir from libpam-modules (in case of
centralized database of network logins) and there may be even more
existing alternatives. Should this non-trivial code be implemented
once again in X2Go tools instead of trying to keep things closer to a
UNIX-way?

Cheers, Nable.


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1145; Package x2goserver. (Tue, 07 Feb 2017 22:55:01 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 07 Feb 2017 22:55:01 GMT) (full text, mbox, link).


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

Received: (at 1145) by bugs.x2go.org; 7 Feb 2017 22:54:18 +0000
From X2Go-ML-1@baur-itcs.de  Tue Feb  7 23:54:17 2017
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05 autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 1D9165DA49
	for <1145@bugs.x2go.org>; Tue,  7 Feb 2017 23:54:17 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id PvicZvHTVDj0 for <1145@bugs.x2go.org>;
	Tue,  7 Feb 2017 23:54:10 +0100 (CET)
X-Greylist: delayed 753 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Tue, 07 Feb 2017 23:54:10 CET
Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 706BF5DA2D
	for <1145@bugs.x2go.org>; Tue,  7 Feb 2017 23:54:10 +0100 (CET)
Received: from [192.168.0.23] ([78.43.90.159]) by mrelayeu.kundenserver.de
 (mreue102 [212.227.15.145]) with ESMTPSA (Nemesis) id
 0LbrjI-1cC6Mu41qe-00jGD3; Tue, 07 Feb 2017 23:41:37 +0100
Subject: Re: [X2Go-Dev] Bug#1145: x2godbadmin + postgres + non-existent home
 directory = wrong ownerships
To: Nable <nable.maininbox@googlemail.com>, 1145@bugs.x2go.org
References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de>
 <CALxOYEbeJfQ2Ona6urYjPezRbMBx8zGvuQShvnwGN5m3zo1fTA@mail.gmail.com>
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Message-ID: <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de>
Date: Tue, 7 Feb 2017 23:41:17 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <CALxOYEbeJfQ2Ona6urYjPezRbMBx8zGvuQShvnwGN5m3zo1fTA@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="Wa4qi4TJKBgLTJICjgwjoPHP08CXrPR49"
X-Provags-ID: V03:K0:GTLt9p39GtizAfBx+NmXdfVOz6O//bIMAwxQMzDoaxwx76XG+Gl
 +bwDlvtUfuouVKbkxA9ynFTwdmvtvVBQVVDRN70GpYoqdZJwwJ0yghzOrXMb6cfOuyff4+q
 UMFpndx7DqK9TTZnuW9pcEYoJAsgxzbDJu04qOMcxewzE6xMEvd/maSwSlsMAgZJnXbb/ot
 4aHPf47WxMXAP4id1ELlQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:FiTQYGj6frs=:Y30cssZnwlLgdOpvNyszVl
 V4DamgcB9OcCg5f07q3lEX6VJ9Q41BhI/wxVzj1f4ZwfIOEUDv4zcYYISYWdYd+HcNenkZm2A
 EisST4oLQ/94dzPen5mNiPttjAig7vd8F+70uoEAl6RLq56bZ+GJRbbYRi3Ulpz/tA/iepVwt
 IdyVXSvJSSxud0apLn3ltywDd4S7rAYcXympD35ADgDs55zhT5d9tkg3LnL2Iqs71EmbE3tIS
 YMBqnFwFCOst+vuf9DUTiSu9IGiFxyJB182xf1l+CRAAmtzwEiQiYF0L/s6O+WqnEyHGguL8u
 WW4WNdCFEwtTOpiSX78PzVbXnSMu06Y2xT12H/yUylPlUTcjcfYxtoGemUSAYm2h4x6TPQrem
 B1meeRPlQNZhQay3vissGPdujuhZ54x/ovdM8OuJKqJvWCguN87Z2P36bUFWI/87s3FawQUrX
 T/ic+RQcV/K1mCQWuVFbiUmaAxvubOBNHcRb0Fp0/tkODy4Q4l94R17pzYRe0bOiuv6cLCGag
 VnVNJTzvIqE14DKjisqvW4BczcRnE1hcA7KrF6j/5xxAKBy4fI31nePrPBnfx/+UjWP3kp6NT
 umwKJ7+jMGeNOBoXMlIP4t3B+SwLt2fQ6BGgX3000YiS+9PgjlSom+ZYcq33xK9kYm9AOX0+2
 wZobVjtVuiDOVAXsa9HAMJc13GAxJr/oKXZso3v8koiNl4YjBsdKcvYXQ2BselDzlOO4=
[Message part 1 (text/plain, inline)]
Am 07.02.2017 um 23:14 schrieb Nable:

>> When x2godbadmin is used with a postgres database, and the user name
>> given doesn't yet have a home directory, it creates this home directory.
> I've thought that creation of home directories is a task for useradd
> (for local users) or pam_mkhomedir from libpam-modules (in case of
> centralized database of network logins) and there may be even more
> existing alternatives. Should this non-trivial code be implemented
> once again in X2Go tools instead of trying to keep things closer to a
> UNIX-way?

Well, there already is code in there that is doing it - it just does it
wrong in this particular case.  Of course, we could argue that the
entire piece of code should be removed - but how would you handle things
in this particular case?
Having no /home/<username> is something that is most likely to happen
with non-local accounts.
pam_mkhomedir fixes this and creates it on the spot - IF, and only IF
the user logs in.
x2godbadmin, however, needs to be run
- on the x2goserver
- by root
- before the user logs in

-> chicken and egg.

So - to expand this bug - what we'd need is some piece of code that does
what pam_mkhomedir does (not only create the directory and set
ownership/permissions, *but also* populate it with the contents of
/etc/skel) - but for a user other than the one that's currently logged
in.  Are you aware of anything that does that and that we could call?

-Stefan

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1145; Package x2goserver. (Wed, 08 Feb 2017 01:35:01 GMT) (full text, mbox, link).


Acknowledgement sent to Nable <nable.maininbox@googlemail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 08 Feb 2017 01:35:02 GMT) (full text, mbox, link).


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

Received: (at 1145) by bugs.x2go.org; 8 Feb 2017 01:33:02 +0000
From nable.maininbox@googlemail.com  Wed Feb  8 02:33:02 2017
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.2 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_SORBS_SPAM,URIBL_BLOCKED
	autolearn=no version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id E2B235DA49
	for <1145@bugs.x2go.org>; Wed,  8 Feb 2017 02:33:01 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id wi7FKjOWO5iS for <1145@bugs.x2go.org>;
	Wed,  8 Feb 2017 02:32:55 +0100 (CET)
Received: from mail-ot0-f173.google.com (mail-ot0-f173.google.com [74.125.82.173])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D33B15DA2D
	for <1145@bugs.x2go.org>; Wed,  8 Feb 2017 02:32:54 +0100 (CET)
Received: by mail-ot0-f173.google.com with SMTP id 32so101084672oth.3
        for <1145@bugs.x2go.org>; Tue, 07 Feb 2017 17:32:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20161025;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc;
        bh=TeC7iCHcWadNyoP7HAvpEyTsf/IycQvfAZKRxvBC8bc=;
        b=HYxGrU+OyJBi0OsMT6S9EXqKvwFkcRDrFXWP+H0JwJNcSflYJA/Uw4PNfNkb3LAPwf
         OMQYGU31ZM70kDoWDfQbBRKPBEFp0xEInhcOiD4IR5XkcZqU1fBOfNfjM9jF2LVLWdbi
         HsYW4ErI91DbfKP952EccYQobj2Gu1w7MP07ZqljELrTqhr9mhBR8ABxtebv0BuhyxX1
         N/14aOBnFWmW4lRzCuxaIzGGeSgG+5sST4/VggenqI9a81CeB7IGCZM0Yl/NmbI7vCyK
         oeaNFR/KQLcQK9xfUJUW9uNwxwsfwhCqOQg7KTDhQJa4wom4xChMHfckUW2lKUY1gqKm
         Oz4Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:cc;
        bh=TeC7iCHcWadNyoP7HAvpEyTsf/IycQvfAZKRxvBC8bc=;
        b=JaWmLMTLK9nRQ9TW9znDFsgRAu43O9Lr8eVt1rPCFKTyaekqSCRZXJ6KAecvo9wiwh
         pEUMuDyN2zghskrzae7zVP91S0JqHRjrntooBoJfnvCjihuHG69cmEZqWgVyil7yyKf8
         wLBIvXs85tH40/YvAQwD61pK5Jqf6MUqUVfF8bN/N2cOOfnxSDy26Onwo/M66x9jWr13
         ByWD2GlTQsvgp6ts7fBYeJSU69nixVzlWlmhtNkm0/2NcM1NfsYl7qdA/LoOc9n8j4Oy
         d5TZA9WcQfcsA39EofVq5O74koxaPZ3UxLSN0sHaHQbSvoimhOylJW7F8QYLwyks8MMx
         T05Q==
X-Gm-Message-State: AMke39k6yqZG1NUUd2DPjTmSv2FB8heuDz2+zsRFnvsuHR0+TNYCGhk7NJCTj8CSrukbaGQXlQusUQpTjMdV9Q==
X-Received: by 10.202.196.3 with SMTP id u3mr9775782oif.97.1486517573367; Tue,
 07 Feb 2017 17:32:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.182.104.103 with HTTP; Tue, 7 Feb 2017 17:32:52 -0800 (PST)
In-Reply-To: <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de>
References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de>
 <CALxOYEbeJfQ2Ona6urYjPezRbMBx8zGvuQShvnwGN5m3zo1fTA@mail.gmail.com> <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de>
From: Nable <nable.maininbox@googlemail.com>
Date: Wed, 8 Feb 2017 04:32:52 +0300
Message-ID: <CALxOYEa2+wW-HKs9QE9X5Bi3uQ0o2n2oT=DOwestqVZm3WHFpw@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1145: x2godbadmin + postgres + non-existent home
 directory = wrong ownerships
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Cc: 1145@bugs.x2go.org
Content-Type: text/plain; charset=UTF-8
> Are you aware of anything that does that and that we could call?
I think that setup with absent homedir && non-configured pam_mkhomedir
is broken anyway and one can only fail gracefully with a good error
message.
Other variants (homedir already exists and/or pam_mkhomedir is
configured) can be covered by calling `su' or `sudo' with appropriate
options (e.g. su -c /bin/true "${user_to_add}").
This would fail if homedir (either existing or not) is located on a
network or encrypted FS (where local root can't do anything without
knowing user's password) but this is a separate issue.

I've also seen posts (e.g.[1]) about `oddjob-mkhomedir' (and I've
already seen it in Debian repos) but I wonder if this way is
production-ready. And this way seems to be more complex.

[1] https://access.redhat.com/discussions/903523


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1145; Package x2goserver. (Wed, 08 Feb 2017 09:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to Walid MOGHRABI <w.moghrabi@servicemagic.eu>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 08 Feb 2017 09:00:02 GMT) (full text, mbox, link).


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

Received: (at 1145) by bugs.x2go.org; 8 Feb 2017 08:58:37 +0000
From w.moghrabi@servicemagic.eu  Wed Feb  8 09:58:35 2017
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,MIME_QP_LONG_LINE,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 45A1B5DA49
	for <1145@bugs.x2go.org>; Wed,  8 Feb 2017 09:58:35 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id wcUoyC103F+j for <1145@bugs.x2go.org>;
	Wed,  8 Feb 2017 09:58:28 +0100 (CET)
X-Greylist: delayed 334 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Wed, 08 Feb 2017 09:58:28 CET
Received: from zm-01.servicemagic.eu (zm-01.servicemagic.eu [176.31.236.17])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 7552E5DA2D
	for <1145@bugs.x2go.org>; Wed,  8 Feb 2017 09:58:28 +0100 (CET)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by zm-01.servicemagic.eu (Postfix) with ESMTP id 284C3812E4E87;
	Wed,  8 Feb 2017 09:52:53 +0100 (CET)
X-Amavis-Modified: Mail body modified (using disclaimer) -
	zm-01.servicemagic.eu
X-Virus-Scanned: amavisd-new at servicemagic.eu
Received: from zm-01.servicemagic.eu ([127.0.0.1])
	by localhost (zm-01.servicemagic.eu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 08syCk-3EqvS; Wed,  8 Feb 2017 09:52:48 +0100 (CET)
Received: from zm-01.servicemagic.eu (localhost.localdomain [127.0.0.1])
	by zm-01.servicemagic.eu (Postfix) with ESMTP id 21A6F8120B961;
	Wed,  8 Feb 2017 09:52:48 +0100 (CET)
Date: Wed, 8 Feb 2017 09:52:48 +0100 (CET)
From: Walid MOGHRABI <w.moghrabi@servicemagic.eu>
To: Nable <nable.maininbox@googlemail.com>, 1145@bugs.x2go.org
Cc: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Message-ID: <385892791.2883907.1486543968090.JavaMail.root@servicemagic.eu>
In-Reply-To: <CALxOYEa2+wW-HKs9QE9X5Bi3uQ0o2n2oT=DOwestqVZm3WHFpw@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres +
	non-existent home directory = wrong ownerships
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [10.33.100.60]
X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC56 (Linux)/7.2.0_GA_2669)
Hi,

To add my 2 cents, I workarounded this by creating a small helper script for provisionning my accounts which does the x2godbadmin --adduser stuff + a few other things (provisionning the /etc/skel content, setting right user perms, ...)

I don't think it is mandatory to expand these features inside the script but creating good documentation about those script (and I include scripts such as x2golistsession, x2goterminatesession, ...) and good error reporting would be great because it's very hard o know what they do unless you tap directly inside the code itself (which I did at then end).


Regards,
Walid Moghrabi

TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3

----- Mail original ----- 

De: "Nable" <nable.maininbox@googlemail.com> 
À: "Stefan Baur" <X2Go-ML-1@baur-itcs.de> 
Cc: 1145@bugs.x2go.org 
Envoyé: Mercredi 8 Février 2017 02:32:52 
Objet: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships 

> Are you aware of anything that does that and that we could call? 
I think that setup with absent homedir && non-configured pam_mkhomedir 
is broken anyway and one can only fail gracefully with a good error 
message. 
Other variants (homedir already exists and/or pam_mkhomedir is 
configured) can be covered by calling `su' or `sudo' with appropriate 
options (e.g. su -c /bin/true "${user_to_add}"). 
This would fail if homedir (either existing or not) is located on a 
network or encrypted FS (where local root can't do anything without 
knowing user's password) but this is a separate issue. 

I've also seen posts (e.g.[1]) about `oddjob-mkhomedir' (and I've 
already seen it in Debian repos) but I wonder if this way is 
production-ready. And this way seems to be more complex. 

[1] https://access.redhat.com/discussions/903523 
_______________________________________________ 
x2go-dev mailing list 
x2go-dev@lists.x2go.org 
http://lists.x2go.org/listinfo/x2go-dev
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1145; Package x2goserver. (Wed, 08 Feb 2017 13:35:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 08 Feb 2017 13:35:02 GMT) (full text, mbox, link).


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

Received: (at 1145) by bugs.x2go.org; 8 Feb 2017 13:30:29 +0000
From X2Go-ML-1@baur-itcs.de  Wed Feb  8 14:30:29 2017
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.4 required=3.0 tests=BAYES_00,RCVD_IN_SORBS_SPAM
	autolearn=no version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 293E45DA4B
	for <1145@bugs.x2go.org>; Wed,  8 Feb 2017 14:30:29 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 9tJuO9Ezwr2I for <1145@bugs.x2go.org>;
	Wed,  8 Feb 2017 14:30:22 +0100 (CET)
X-Greylist: delayed 302 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Wed, 08 Feb 2017 14:30:22 CET
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 1F81E5DA49
	for <1145@bugs.x2go.org>; Wed,  8 Feb 2017 14:30:22 +0100 (CET)
Received: from [192.168.0.23] ([78.43.90.159]) by mrelayeu.kundenserver.de
 (mreue003 [212.227.15.129]) with ESMTPSA (Nemesis) id
 0M4DUV-1cJF0P3cLj-00rsUo; Wed, 08 Feb 2017 14:25:18 +0100
Subject: Re: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres +
 non-existent home directory = wrong ownerships
To: x2go-dev@lists.x2go.org, 1145@bugs.x2go.org,
 Nable 80 <nable.maininbox@googlemail.com>,
 Walid MOGHRABI <w.moghrabi@servicemagic.eu>
References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de>
 <CALxOYEbeJfQ2Ona6urYjPezRbMBx8zGvuQShvnwGN5m3zo1fTA@mail.gmail.com>
 <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de>
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Message-ID: <6a5e1910-426a-fbe5-eda0-e202b77575b8@baur-itcs.de>
Date: Wed, 8 Feb 2017 14:24:54 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="2xg8cCiHChkmC4Fdgt4VRMLlfl96NP6Ug"
X-Provags-ID: V03:K0:efd4at16DIh931WySWhzP1GfwflLN8OCt92+1d05nA0BHRalsCA
 yN1BJeyOvaM3EB8spX2buas7zFldhDm+UYYThRw9GuFBPcLJUWD5+XeJzr+9d6IYBpSj1H9
 pdzEPEfhMIi08Ih9YzdA58eQncmsEiehDRFNIyoMhq15iWo1baZTB2CLXGEey29Nkzd51q0
 Pi0k7R+DS/6ULrNlCMVBA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:lmXpy5XyliI=:AbPLcHVo0Uf/lKeh6KF8Ew
 bYyIHOq1ahxiERqb5lx1gxAQRSPF+dS3xh1Sr2vhPOmBjwvYTVptRY4oh/Mmd7FbwCM23AZMm
 K3MDfXGL/Oa812M/FMs/jlux7vQrXv84jsywd89MH1mMLjgmleQnToMkV2ZpnRIBdyFJWywwZ
 cUGXrbCMUbndkdlas/Fl3FQSpZpxHkCfYsrbsowbm6uDgbhImDMpSYc+hEYrx8AAI2oP1B43m
 Yy6wdoOG4nL58ECnwwooIOr4UWgWQg2C8VhX1tPsTqSKm2kYTP2suJYllocpXHeUN6Ui0Du5D
 T4SOxb1H4m2lwByMA+CENf7HPgIe98+HwSpPuO0VnQBBcPgZ4VegDzoH0KLEWZir0ZfJZzI3w
 /x/TPx7Z1ruiNmZFfPt3uPjL1/Ey0onZhwkoB1TLUUETMOLRq8+TTikadayrqlcMAdi6HkCAN
 9cohl43EFXq8K6IbW3EZCK8064aB62N5qUwCc4WrjGzNHwxKsBG+YLOUkawXFY96N3MvYitLJ
 l4aZjq2C2Lysv7cJsAR8DGJNgjaS5C0yPGUcCRVOiO0q9djeTa1R6qmeMCsOmEsV25MRyUt6M
 J4AAO5by90t/rvayEb7DQvuWPhBVgqT18Q9LZkKuh+cconM/fUpSeoOiU7Y9gDHenz1uGKyYQ
 I/VhVgr4Js0eRtREgsAxAtx6gMp86bx1It4WNZlalAsXVuU7IZB4Zc1UwyFkw5k5kyiI=
[Message part 1 (text/plain, inline)]
Am 07.02.2017 um 23:41 schrieb Stefan Baur:
> x2godbadmin, however, needs to be run
> - on the x2goserver
> - by root
> - before the user logs in
> 
> -> chicken and egg.

Ha, I think I found a way to "hatch the egg"!

As root, do:

su <username> -s /bin/true # this triggers pam_mkhomedir for <username>
x2godbadmin --adduser <username>

We *might* consider adding that inside x2godbadmin, but would have to
make sure it is only used if pam_mkhomedir is in use/users are non-local
users (because it won't do the trick if it's a local user account that
doesn't have a homedirectory yet).

-Stefan

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1145; Package x2goserver. (Wed, 08 Feb 2017 21:45:01 GMT) (full text, mbox, link).


Acknowledgement sent to Nable <nable.maininbox@googlemail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 08 Feb 2017 21:45:02 GMT) (full text, mbox, link).


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

Received: (at 1145) by bugs.x2go.org; 8 Feb 2017 21:40:22 +0000
From nable.maininbox@googlemail.com  Wed Feb  8 22:40:21 2017
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.2 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_SORBS_SPAM,URIBL_BLOCKED
	autolearn=no version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 7B16E5DA4B
	for <1145@bugs.x2go.org>; Wed,  8 Feb 2017 22:40:21 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id obgyHihEYb+1 for <1145@bugs.x2go.org>;
	Wed,  8 Feb 2017 22:40:14 +0100 (CET)
Received: from mail-ot0-f193.google.com (mail-ot0-f193.google.com [74.125.82.193])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 5B14F5DA4A
	for <1145@bugs.x2go.org>; Wed,  8 Feb 2017 22:40:14 +0100 (CET)
Received: by mail-ot0-f193.google.com with SMTP id 36so19486828otx.3
        for <1145@bugs.x2go.org>; Wed, 08 Feb 2017 13:40:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20161025;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc;
        bh=ErhjjGt4tjOl8NVPN1UZYhOrlxFas6ITYXYn4RK3P9w=;
        b=b70DNPUTO3a0/ZwPGSOYB+GBklHDJs+Ywz7DdaAq40RuiwEuHB5oVEljShbsg1xQAf
         rtt0ZdZsM+1SBmmBtFoIaFBmbf1ZoxnNf3EMLXZXdXo0aRtket4sHWcV9slVp61+7DMb
         0QpWJE4lhgFbgFFkWkunfxOZVf2JK82UDr7XNGnQgC0VQKVWcDoJiGpBy9tCZEfMFbUB
         JCDoKhbwjKe3kZAiZAOueLIupqLFRNL15dybCvv6xKt4Nq2IEFucoVDge+OHYBGiRCm3
         2aCehBcOYCCqrKnjIaFZOgHCdUMAWk6d3pnlP5A330hSj1uq051nlN30Ld56u0TFq5F6
         zIVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:cc;
        bh=ErhjjGt4tjOl8NVPN1UZYhOrlxFas6ITYXYn4RK3P9w=;
        b=QKAXRBEVW0rdauyPhf2aCeIkheyMgB6eCOqI//qsUI6l9DclMwco9uxffcf/1nMaqh
         kvpydeD8Zhsz0CHEcfCzMIPYshppc3rCthkbvVcAU3mta61MCxbLf5XMEcLCUsJqDBZS
         XJ9ForAtUizyh4YMdfnawGnq2aQurzqHQ10FUzM9a9idEGGA58jOo02q4tSmZMzY92mq
         /owQTQnfc+Y9zEgutoQvTb88JYOyvKQB/CEfBrfVsB0zHAgpxkUbrmB6Ui05IKqqTEZ0
         TWj5wBnKMgSPxXFRpHCEzQFl8OLteQtu2PtMIFMQrrvfERrZtfIXGjdJRVRr66LKXY6C
         T1rg==
X-Gm-Message-State: AMke39m6jhiRtjR4J9sVIGenEIAcg4bYi5nHjbcXci9TsNVVfOb2TqKHajoQhgp8iQ5eZ2d/pJkixDgoYmE1+Q==
X-Received: by 10.157.43.55 with SMTP id o52mr13793292otb.206.1486590013009;
 Wed, 08 Feb 2017 13:40:13 -0800 (PST)
MIME-Version: 1.0
Received: by 10.182.104.103 with HTTP; Wed, 8 Feb 2017 13:40:12 -0800 (PST)
In-Reply-To: <6a5e1910-426a-fbe5-eda0-e202b77575b8@baur-itcs.de>
References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de>
 <CALxOYEbeJfQ2Ona6urYjPezRbMBx8zGvuQShvnwGN5m3zo1fTA@mail.gmail.com>
 <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de> <6a5e1910-426a-fbe5-eda0-e202b77575b8@baur-itcs.de>
From: Nable <nable.maininbox@googlemail.com>
Date: Thu, 9 Feb 2017 00:40:12 +0300
Message-ID: <CALxOYEZj0vMAcokVHvMASVjtQ7dZz-T-gKocB3+gOw5dJYcwUA@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres +
 non-existent home directory = wrong ownerships
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Cc: x2go-dev@lists.x2go.org, 1145@bugs.x2go.org
Content-Type: text/plain; charset=UTF-8
On 2/8/17, Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
> Ha, I think I found a way to "hatch the egg"!
> [...]
Did you receive my previous message? Calling `su' was exactly what
I've suggested there. There were also some additional notes there that
you may find interesting.
Here it is: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1145#20


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1145; Package x2goserver. (Fri, 24 Mar 2017 03:35:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Mon Apr 22 19:02:56 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.