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


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1145: [X2Go-Dev] Bug#1145: x2godbadmin + postgres + non-existent home directory = wrong ownerships
Reply-To: Nable <nable.maininbox@googlemail.com>, 1145@bugs.x2go.org
Resent-From: Nable <nable.maininbox@googlemail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 07 Feb 2017 22:15:01 +0000
Resent-Message-ID: <handler.1145.B1145.148650566123629@bugs.x2go.org>
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 <nable.maininbox@googlemail.com>
Date: Wed, 8 Feb 2017 01:14:12 +0300
Message-ID: <CALxOYEbeJfQ2Ona6urYjPezRbMBx8zGvuQShvnwGN5m3zo1fTA@mail.gmail.com>
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.

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:41:11 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.