![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||||
| |||||
|
|
Can I remove postgres (the user) from pg_hba? |
|
Can I lock the unix postgres account; i.e. set its login shell to /sbin/ nologin? |
|
Can I drop the postgres database? |
|
Can I drop the schemata "public"? |
|
If there is a FAQ, please could someone point to it. |
#3
| |||
| |||
|
|
HoneyMonster <someone (AT) someplace (DOT) invalid> wrote: Can I remove postgres (the user) from pg_hba? Yes. Can I lock the unix postgres account; i.e. set its login shell to /sbin/ nologin? Yes. Can I drop the postgres database? Yes. It might cause trouble with command-line tools like 'createuser', but if it does you could use SQL instead. Can I drop the schemata "public"? Yes. If there is a FAQ, please could someone point to it. There's a FAQ at http://wiki.postgresql.org/wiki/FAQ , though it doesn't seem to mention any of the above. Thanks, Matthew. |
#4
| |||
| |||
|
|
Can I lock the unix postgres account; i.e. set its login shell to /sbin/ nologin? |
#5
| |||
| |||
|
|
On Tue, 07 Dec 2010 20:49:26 +0000, HoneyMonster wrote: Can I lock the unix postgres account; i.e. set its login shell to /sbin/ nologin? My advice would be to set the password to '****', character '*' cannot be generated by Unix hashing function. That means that the only way to log in would be doing "su - postgres" as root. You don't really want to close that option. |
#6
| |||
| |||
|
|
As a refugee from the big bad O, I am looking at Postgres. |
![]() |
| Thread Tools | |
| Display Modes | |
| |