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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Programmatically changing passwords



David Leangen <postgres(at)leangen(dot)net> writes:
> Yes, that is my point. After having installed the standard postgresql  
> package, I would then install my custom-postgres-config package. In  
> this package, I tinker with the default configuration so I can put  
> postgres into a known state programmatically, without any user  
> interaction.

> The problem is that createuser doesn't allow for this: it prompts the  
> user for a password, which does not work in this situation, as you  
> pointed out.

I rather doubt that: the default RPM installation uses ident
authentication.  Which has got plenty of downsides, but unexpected
password prompts is not one of them.  Perhaps you are making your
configuration changes in a bad order?

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group