From unknown Fri Mar 29 14:39:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships Reply-To: Stefan Baur , 1145@bugs.x2go.org Resent-From: Stefan Baur Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Tue, 07 Feb 2017 13:15:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 1145 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.148647307831521 (code B); Tue, 07 Feb 2017 13:15:02 +0000 Received: (at submit) by bugs.x2go.org; 7 Feb 2017 13:11:18 +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=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 ; 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 ; 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 ; 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 ; Tue, 07 Feb 2017 14:11:09 +0100 From: Stefan Baur To: submit@bugs.x2go.org 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= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SPC0gVL5keIis9lSnB9KngdroAoG5hkkA Content-Type: multipart/mixed; boundary="hatQGplR3STesGvVHs4QVkpCCaHX1GPBT"; protected-headers="v1" From: Stefan Baur To: submit@bugs.x2go.org Message-ID: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de> Subject: x2godbadmin + postgres + non-existent home directory = wrong ownerships --hatQGplR3STesGvVHs4QVkpCCaHX1GPBT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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/ - only the files below it have the proper ownership. The proper way how to determine the correct UID for /home/ 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=3Dyes (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= =2E): 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 --=20 BAUR-ITCS UG (haftungsbeschr=C3=A4nkt) Gesch=C3=A4ftsf=C3=BChrer: Stefan Baur Eichen=C3=A4ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 --hatQGplR3STesGvVHs4QVkpCCaHX1GPBT-- --SPC0gVL5keIis9lSnB9KngdroAoG5hkkA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYmcdcAAoJEG7d9BjNvlEZJPsH/0SM+BuPk2waoxhN1A8kHj9h FrzKChHGDbXvVgIJiaAWjGrKQ/NBt7U5ymVieTBJcXRQ7Aq6PdDDUw6XTfyqwAvS 2EKxzvrsd/B4dhByH4Fe/O5uwwmbN62vCPfJuvqyqYNcrATpoPbv/3Onb/IHlfRR NA7ANMLD0rOTG0+ly2L2Fhe0W89VoPNtal6LwBx3zPUb/Q4TD9oMPJ4OT8dZ4XSV /kTVoZKXn4Yt/hZSfjrVNBLtVcA+I6TmOfdo69PFWDFu3nhFmbN+3zuMjpbOOywN ac5usp1XLYJrwOQyfN6hwspMxP91gWdo1aq4idEZDQuFJ6jwSjOTFdfuk6CX53U= =EgMp -----END PGP SIGNATURE----- --SPC0gVL5keIis9lSnB9KngdroAoG5hkkA-- From unknown Fri Mar 29 14:39:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1145: [X2Go-Dev] Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships Reply-To: Nable , 1145@bugs.x2go.org Resent-From: Nable Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Tue, 07 Feb 2017 22:15:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1145 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 1145-submit@bugs.x2go.org id=B1145.148650566123629 (code B ref 1145); Tue, 07 Feb 2017 22:15:01 +0000 Received: (at 1145) by bugs.x2go.org; 7 Feb 2017 22:14:21 +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.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 Date: Wed, 8 Feb 2017 01:14:12 +0300 Message-ID: To: Stefan Baur , 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. From unknown Fri Mar 29 14:39:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1145: [X2Go-Dev] Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships Reply-To: Stefan Baur , 1145@bugs.x2go.org Resent-From: Stefan Baur Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Tue, 07 Feb 2017 22:55:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1145 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 1145-submit@bugs.x2go.org id=B1145.14865080581972 (code B ref 1145); Tue, 07 Feb 2017 22:55:01 +0000 Received: (at 1145) by bugs.x2go.org; 7 Feb 2017 22:54:18 +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=-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 To: Nable , 1145@bugs.x2go.org References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de> From: Stefan Baur 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: 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= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Wa4qi4TJKBgLTJICjgwjoPHP08CXrPR49 Content-Type: multipart/mixed; boundary="96LpLKAvGp30Cf81O6lq77t2p9IHP5aoM"; protected-headers="v1" From: Stefan Baur To: Nable , 1145@bugs.x2go.org Message-ID: <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de> Subject: Re: [X2Go-Dev] Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de> In-Reply-To: --96LpLKAvGp30Cf81O6lq77t2p9IHP5aoM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 director= y. > 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/ 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 --=20 BAUR-ITCS UG (haftungsbeschr=C3=A4nkt) Gesch=C3=A4ftsf=C3=BChrer: Stefan Baur Eichen=C3=A4ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 --96LpLKAvGp30Cf81O6lq77t2p9IHP5aoM-- --Wa4qi4TJKBgLTJICjgwjoPHP08CXrPR49 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYmk0QAAoJEG7d9BjNvlEZWYsH/RzdkoFc0ZzB+EKVWiPLR8// P79ZC4LPWfUk2R/ylq5SM5Ft8Z17b5GCsufQMxbYzHgtcH/J2yfBMId0d0bIP282 ie2taXL/f7kr3gYJ87EPMPi7JSX6RO91Rfc3PK7/zKvI0ILB8wG2hR6ZcLhitQ57 k+u1nALjj9yH8qJrTNOLU9OQEwCp6yXVw2rGeYuh0kr0IVBMN1MVrwFGgA9yMy4h B7P7T5wXkpvI2+iDvmMYCYOkB0j6XwFUnudirooOGPURMU+YxBTO9kqHFNBv1vAL CCafTcpFCxueo3bV63rS9iWTT2Sspe4x3SeDwOQej69PMo0mMvflnadKDzWWtfk= =DNiT -----END PGP SIGNATURE----- --Wa4qi4TJKBgLTJICjgwjoPHP08CXrPR49-- From unknown Fri Mar 29 14:39:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1145: [X2Go-Dev] Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships Reply-To: Nable , 1145@bugs.x2go.org Resent-From: Nable Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Wed, 08 Feb 2017 01:35:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1145 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 1145-submit@bugs.x2go.org id=B1145.148651758227376 (code B ref 1145); Wed, 08 Feb 2017 01:35:01 +0000 Received: (at 1145) by bugs.x2go.org; 8 Feb 2017 01:33:02 +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.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> <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de> From: Nable Date: Wed, 8 Feb 2017 04:32:52 +0300 Message-ID: To: Stefan Baur 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 From unknown Fri Mar 29 14:39:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1145: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships Reply-To: Walid MOGHRABI , 1145@bugs.x2go.org Resent-From: Walid MOGHRABI Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Wed, 08 Feb 2017 09:00:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1145 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 1145-submit@bugs.x2go.org id=B1145.14865443177336 (code B ref 1145); Wed, 08 Feb 2017 09:00:02 +0000 Received: (at 1145) by bugs.x2go.org; 8 Feb 2017 08:58:37 +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=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 To: Nable , 1145@bugs.x2go.org Cc: Stefan Baur Message-ID: <385892791.2883907.1486543968090.JavaMail.root@servicemagic.eu> In-Reply-To: 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 fo= r provisionning my accounts which does the x2godbadmin --adduser stuff + a = few other things (provisionning the /etc/skel content, setting right user p= erms, ...) I don't think it is mandatory to expand these features inside the script bu= t creating good documentation about those script (and I include scripts suc= h as x2golistsession, x2goterminatesession, ...) and good error reporting w= ould be great because it's very hard o know what they do unless you tap dir= ectly 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 -----=20 De: "Nable" =20 =C3=80: "Stefan Baur" =20 Cc: 1145@bugs.x2go.org=20 Envoy=C3=A9: Mercredi 8 F=C3=A9vrier 2017 02:32:52=20 Objet: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres + non-existent= home directory =3D wrong ownerships=20 > Are you aware of anything that does that and that we could call?=20 I think that setup with absent homedir && non-configured pam_mkhomedir=20 is broken anyway and one can only fail gracefully with a good error=20 message.=20 Other variants (homedir already exists and/or pam_mkhomedir is=20 configured) can be covered by calling `su' or `sudo' with appropriate=20 options (e.g. su -c /bin/true "${user_to_add}").=20 This would fail if homedir (either existing or not) is located on a=20 network or encrypted FS (where local root can't do anything without=20 knowing user's password) but this is a separate issue.=20 I've also seen posts (e.g.[1]) about `oddjob-mkhomedir' (and I've=20 already seen it in Debian repos) but I wonder if this way is=20 production-ready. And this way seems to be more complex.=20 [1] https://access.redhat.com/discussions/903523=20 _______________________________________________=20 x2go-dev mailing list=20 x2go-dev@lists.x2go.org=20 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 From unknown Fri Mar 29 14:39:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1145: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships Reply-To: Stefan Baur , 1145@bugs.x2go.org Resent-From: Stefan Baur Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Wed, 08 Feb 2017 13:35:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1145 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 1145-submit@bugs.x2go.org id=B1145.148656062923454 (code B ref 1145); Wed, 08 Feb 2017 13:35:02 +0000 Received: (at 1145) by bugs.x2go.org; 8 Feb 2017 13:30:29 +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.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 To: x2go-dev@lists.x2go.org, 1145@bugs.x2go.org, Nable 80 , Walid MOGHRABI References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de> <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de> From: Stefan Baur 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= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2xg8cCiHChkmC4Fdgt4VRMLlfl96NP6Ug Content-Type: multipart/mixed; boundary="8OtjNjc3OWRLkhdAGua3ToqAAJ5p9Ok79"; protected-headers="v1" From: Stefan Baur To: x2go-dev@lists.x2go.org, 1145@bugs.x2go.org, Nable 80 , Walid MOGHRABI Message-ID: <6a5e1910-426a-fbe5-eda0-e202b77575b8@baur-itcs.de> Subject: Re: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships References: <8fbce1f7-5f1a-465b-615b-b2ccf6b87b51@baur-itcs.de> <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de> In-Reply-To: <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de> --8OtjNjc3OWRLkhdAGua3ToqAAJ5p9Ok79 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 >=20 > -> chicken and egg. Ha, I think I found a way to "hatch the egg"! As root, do: su -s /bin/true # this triggers pam_mkhomedir for x2godbadmin --adduser 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 --=20 BAUR-ITCS UG (haftungsbeschr=E4nkt) Gesch=E4ftsf=FChrer: Stefan Baur Eichen=E4ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 --8OtjNjc3OWRLkhdAGua3ToqAAJ5p9Ok79-- --2xg8cCiHChkmC4Fdgt4VRMLlfl96NP6Ug Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYmxwtAAoJEG7d9BjNvlEZ5IwH/3Anexty2MZ/+AvKuGb1FcPp kwjqytco1QH2OP+QSnZUGRaWYRkiR0dYqvGKXpNbHLub/OhxNRR8sYF9AmqorEMt Hz4O80x6sXSInckJuRgWJ0PenVSj6pdWKm2BjHdeWVXjW/StXmWICxXbueZU2oop +lw3eYB5My14oqacZqnt6104nXBoG4yuS0CQTCfSJwPSkIRZlu82FzQxgTEy6A97 fx4zBWgSlzo0mu7p1rQid/mQRide8uu945Gc8eW2vagINuTlHPAj0z3xtlmRXK6j NTJL7bPgQpdSJlVW8pG3V2EMS1ZEIO50PwYB8VV4/fFRaBEsxnMQxieAjFU37Ik= =xzw/ -----END PGP SIGNATURE----- --2xg8cCiHChkmC4Fdgt4VRMLlfl96NP6Ug-- From unknown Fri Mar 29 14:39:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1145: [X2Go-Dev] Bug#1145: Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships Reply-To: Nable , 1145@bugs.x2go.org Resent-From: Nable Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Wed, 08 Feb 2017 21:45:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1145 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 1145-submit@bugs.x2go.org id=B1145.148659002224783 (code B ref 1145); Wed, 08 Feb 2017 21:45:01 +0000 Received: (at 1145) by bugs.x2go.org; 8 Feb 2017 21:40:22 +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.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> <2889078d-8670-e2b9-c92e-f303690e0388@baur-itcs.de> <6a5e1910-426a-fbe5-eda0-e202b77575b8@baur-itcs.de> From: Nable Date: Thu, 9 Feb 2017 00:40:12 +0300 Message-ID: To: Stefan Baur Cc: x2go-dev@lists.x2go.org, 1145@bugs.x2go.org Content-Type: text/plain; charset=UTF-8 On 2/8/17, Stefan Baur 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