Postgres user with a shell of /bin/false - Mailing list pgsql-admin

From Cliff Pratt
Subject Postgres user with a shell of /bin/false
Date
Msg-id 9adabaf40905212051l58666e70w8d75ea394acc176@mail.gmail.com
Whole thread Raw
Responses Re: Postgres user with a shell of /bin/false  (Peter Eisentraut <peter_e@gmx.net>)
Re: Postgres user with a shell of /bin/false  ("Reko Turja" <reko.turja@liukuma.net>)
List pgsql-admin
I've browsed my history of the list, and the Internet for information
regarding giving the unix 'postgres' user a shell of /bin/false, so
that it cannot be logged into directly. It seems from my research that
if I set the user's shell to /bin/false it will not prevent the
running of postgres itself.

Before I start changing the postgres Unix users, can someone please
confirm that this will work, and any 'gotchas' I might have missed.
Obviously there are ways to circumvent this, I know.

Cheers,

Cliff

pgsql-admin by date:

Previous
From: Duan Ligong
Date:
Subject: cascade deleting
Next
From: Peter Eisentraut
Date:
Subject: Re: Postgres user with a shell of /bin/false