Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qMNDc-002FUa-QH for pgsql-general@arkaria.postgresql.org; Thu, 20 Jul 2023 06:32:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qMNDa-001DFj-DU for pgsql-general@arkaria.postgresql.org; Thu, 20 Jul 2023 06:32:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qMNDa-001DFT-2B for pgsql-general@lists.postgresql.org; Thu, 20 Jul 2023 06:32:54 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qMNDV-000akw-EL for pgsql-general@lists.postgresql.org; Thu, 20 Jul 2023 06:32:53 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9928abc11deso81995666b.1 for ; Wed, 19 Jul 2023 23:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689834768; x=1690439568; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=sqPUr2hFclNvPYOVD3QYv7o8JgqMsrEjEtgjLIEaM5c=; b=BfCMXHqp/XIzbeBGnaF01wSa+3PbEdT/UP/s09t6CFTKfKFMAd1TYl7bohFvsqPbup 0NQR1Hx1kK9F26oHbk65jFKPoG8ZQVEKMz77ImF5EiXayNa38QVBPjLjOiddcPAdPAC0 cu/LpeRE65sJGiXwRhitzEn4KL4vt7kuqGZvTNFMeEqKy2YWMSO0aZ9SPjoKNjLgzhQc +F7gJQj9uw9THrlfHRrtgOjjXcqavI6iTPfH5/sZ6eLYM1IM2VHnzBubEbzc3UbmGkrf Crtl3t2EAV7cT8fBXGo7juekxDlBcMZ7/KbZ4cGakgJ7JrEt60wtSc1R69p3BKsYYOT7 FUQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689834768; x=1690439568; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sqPUr2hFclNvPYOVD3QYv7o8JgqMsrEjEtgjLIEaM5c=; b=SdZXhJQyeGsl7fcV8yPrU9cD6tshbP+DNjdAxnmWq+spy30/8ZsKrrl8xAlJzaaT+U ekl0yJK49XQx/dDS0BguaaQIiPM/IeGPb1LlfGQBmjrNa8fazCTcoX+V3cVJkgVqgdyn A/oRtPUE8AuKj3xbRWxJMVWe8s9ELypgwweGojp+dSkgN3Au8mGL+LDBaDsxhMSxznMh QG/fulj5pXKFMmxM8KPQF5SUax1d2ayfT5AvfjGTEWCyjGSo9ZP175TsKzcxJiWieIDj UBiVws1slXfs284Vv+QS3AauhmxqWz0HHgLLsDcEgdKFQzokFKrfRglmM286LK/nTnSF odZw== X-Gm-Message-State: ABy/qLYK4etTcRvjPoNVe/tGCXUw01dZ+iXwXf/QTIq7b9QDDSaugFfe x4Atk0AJDMqrRwtV32/Ro/U= X-Google-Smtp-Source: APBJJlGdv8Xfmv+gZW26j9cqI9C9wqeDp2q0vpEcWwaQsj1757QOsFUD9Cz8dgv6lxsF5lnb15caYA== X-Received: by 2002:a17:906:328a:b0:982:c8d0:683f with SMTP id 10-20020a170906328a00b00982c8d0683fmr4483101ejw.18.1689834768339; Wed, 19 Jul 2023 23:32:48 -0700 (PDT) Received: from smtpclient.apple (217-19-30-105.dsl.cambrium.nl. [217.19.30.105]) by smtp.gmail.com with ESMTPSA id xo22-20020a170907bb9600b0098860721959sm189607ejc.198.2023.07.19.23.32.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jul 2023 23:32:47 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: Nu-B here From: Alban Hertroys In-Reply-To: <28bc9ae9-869d-a2ee-3ebb-b4bb7bdcbb14@gmail.com> Date: Thu, 20 Jul 2023 08:32:36 +0200 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: <975DAA29-FD15-4B1D-B19C-297725A59D74@gmail.com> References: <28bc9ae9-869d-a2ee-3ebb-b4bb7bdcbb14@gmail.com> To: Amn Ojee Uw X-Mailer: Apple Mail (2.3731.500.231) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 20 Jul 2023, at 02:36, Amn Ojee Uw wrote: >=20 > After this command 'sudo -u postgres psql' > I get this message :=20 > could not change directory to "/home/my_account": Permission denied What=E2=80=99s the reason that you=E2=80=99re using the OS user = postgres? If you=E2=80=99re simply trying to connect to the database named = postgres as database user postgres, you can instead use the command = 'psql -U postgres postgres=E2=80=99. Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest.