Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKMnC-0000eL-Rj for pgsql-general@arkaria.postgresql.org; Fri, 03 Apr 2020 13:55:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jKMnB-0007Jn-7x for pgsql-general@arkaria.postgresql.org; Fri, 03 Apr 2020 13:55:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKMnA-0007Jg-UN for pgsql-general@lists.postgresql.org; Fri, 03 Apr 2020 13:55:29 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jKMn8-0003Ga-Js for pgsql-general@lists.postgresql.org; Fri, 03 Apr 2020 13:55:27 +0000 Received: by mail-io1-xd2c.google.com with SMTP id x9so7478186iom.10 for ; Fri, 03 Apr 2020 06:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=kvvv6toiEuh7I34mH9dSoJlbtBEItDZMBxh39slUcv0=; b=UshM771++C4OdGSu1Kf6I1/ekwKzUbfZ09zs1jLOHn15zl60lJg/VoRyNrbvdfoDVQ CZLeIdRIw9ncMebNOTri5lxO2yRUTMqSP1SoXbGABHbI1ZPqN4WTNms7JdxyZtuLyEY3 7ZpmjSwyfBjlKGNK8/sJYH2fp/BqmLcmflVnx2IsgtDNZpkNwE6Ge/1daKbcCMaBwz6a 6gMV4DVQuXvfJg/rRm1KPRT+jG87XoZ251tUBXQ0oSoUMsZKvj3OFvJ4ayzJ0dtJ5crx rN+vLTNTCFzGDtcijWWdIYWo/S8+Kw8zucMnDefAEVxZR1FDtG4ae708FMf2tyY0YpNv DteA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=kvvv6toiEuh7I34mH9dSoJlbtBEItDZMBxh39slUcv0=; b=uWe5kJmsiFzstsV/+8PvuxYUptOElYCzdq/a7+V1A2NMupGMnsJv5XJHhqrug87SgN mtP0XMt6YdHJXtZYkJRjmdoaMusBGdMIkIGG5xwKLvG7CZJtGFNkEw1WMKWq2NSeH5b0 xbDql4EpN4cGViFURSD+a22XrgPVcBodE5gFyo6DF+fN2SMxDwGZwH2X+pWl8lysz5ww ld8ZbeM8E9WISc/WvFdiaYICZbTawwjWLPFdn5ywLgcMbk4wSkv4HIvhGa1UnKKhxcgm pKAZck3eeu0FLSCwj4WJK7oMs7os30cCobEn6FQqltvQUdufjgNWkc6hwm2qjTNnWvDn v5Iw== X-Gm-Message-State: AGi0PuZNZp3oHrWsklR0wlnUYK6FOf6FFhNP/2ccPIMx5yithFypJ/m9 Ulbw/rUnVXzzANo5H+rHzD8= X-Google-Smtp-Source: APiQypLqIgp1n9UcqyrrQuh9fk3pz1kKWWxDMxAXv82VLKGz/YdlKnNyUmdLvyf2l/yHqQmjrfD0gA== X-Received: by 2002:a05:6638:120c:: with SMTP id n12mr8797778jas.32.1585922125628; Fri, 03 Apr 2020 06:55:25 -0700 (PDT) Received: from [192.168.1.144] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id 10sm2831461ilb.45.2020.04.03.06.55.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Apr 2020 06:55:25 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: Backing out of privilege grants rabbit hole Date: Fri, 3 Apr 2020 07:55:23 -0600 Message-Id: References: Cc: AC Gomez , raf , pgsql-general@lists.postgresql.org In-Reply-To: To: Laurenz Albe X-Mailer: iPhone Mail (17D50) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Apr 3, 2020, at 2:50 AM, Laurenz Albe wrote:= >=20 > =EF=BB=BFOn Fri, 2020-04-03 at 00:59 -0400, AC Gomez wrote: >> Granted. But we are where we are, so I'm assuming this is going to be han= d to hand combat. >=20 > Yes, unfortunately there is no better way. > But DROP ROLE will produce messages that help you along. >=20 > Yours, > Laurenz Albe > --=20 > Cybertec | https://www.cybertec-postgresql.com >=20 >=20 Perhaps there is a script which has all the grants for a new hire? I trust login has been disabled? =20 >=20