"Jane Ren" <j2ren@xxxxxxxx> writes: > Is there a way I can specify the password as a command line argument to > createuser? No, and it would be a really bad idea if you could, as the password would be exposed to everyone else on the machine (via "ps") while createuser runs. There are various ways to do this securely, but putting the password on a program's command line isn't one of them. I'd suggest looking at how psql's \password command does it. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings