dx k9 <bitsandbytes88(at)hotmail(dot)com> writes:
> I just tried initdb with the -A pam option and no -W. As expected, I
> can't log into the instance. There is a MD5 hash and postgres still
> defaults to password authentication even though I did not use the -W.
> Is this a bug?
No. initdb is not intended to set up any possible authorization
configuration for you; it only handles two or three common cases.
Feel free to adjust the configuration files afterward.
regards, tom lane