Postgres user with a shell of /bin/false

From: Cliff Pratt <enkiduonthenet(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Postgres user with a shell of /bin/false
Date: 2009-05-22 03:51:42
Message-ID: 9adabaf40905212051l58666e70w8d75ea394acc176@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2009-05-22 13:49:05 Re: Postgres user with a shell of /bin/false
Previous Message Duan Ligong 2009-05-22 01:48:19 cascade deleting