>echo 'createuser becky -d -a' | su postgres


maybe you'd like it the otherway round? ;)

$ su - postgres -c "createuser becky -d -a"

Stefan

-- 
"On the Internet, there is no 'they'. There's only a very,
very large 'us'." --- Douglas Adams


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to