Dear All, 

Can someone explain the -A in createuser? 
And using which user should I issue these commands:

createuser -U postgres -d -A -P dspace
createdb -U dspace -E UNICODE dspace

When I su as postgres user, I am able to apply the first command but when I
issue the 2nd command, it gives me the below error:
createdb: could not connect to database postgres: FATAL:  Ident
authentication failed for user "dspace"

However, if I su as dspace, I am not able to issue the first command, but am
able to issue the 2nd command.

After some research I found that I should edit the file pg_ident.conf.
But what should I edit? Did anyone face a similar problem?

Thank you, 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to