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 1t17BQ-00EnZQ-Ar for pgsql-general@arkaria.postgresql.org; Wed, 16 Oct 2024 16:47:36 +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 1t17BN-0068rh-3q for pgsql-general@arkaria.postgresql.org; Wed, 16 Oct 2024 16:47:33 +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 1t17BM-0068rY-Ov for pgsql-general@lists.postgresql.org; Wed, 16 Oct 2024 16:47:33 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t17BK-001O4V-UD for pgsql-general@postgresql.org; Wed, 16 Oct 2024 16:47:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 49GGlPSN186767; Wed, 16 Oct 2024 12:47:25 -0400 From: Tom Lane To: Bruce Momjian cc: mbork@mbork.pl, Dominique Devienne , pgsql-general@postgresql.org Subject: Re: What are best practices wrt passwords? In-reply-to: References: <87o73kgzkd.fsf@mbork.pl> <87frowggzq.fsf@mbork.pl> Comments: In-reply-to Bruce Momjian message dated "Wed, 16 Oct 2024 12:33:01 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <186765.1729097245.1@sss.pgh.pa.us> Date: Wed, 16 Oct 2024 12:47:25 -0400 Message-ID: <186766.1729097245@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > On Wed, Oct 16, 2024 at 06:16:57PM +0200, mbork@mbork.pl wrote: >> `ps auxe` shows all processes with their environments, no? > I think that only shows for super-user. I believe it depends on your platform --- some BSDen are pretty permissive about this, if memory serves. On a Linux box it seems to work for processes owned by yourself even if you're not superuser. regards, tom lane