Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.




pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group