Re: [ADMIN] Script to createuser

2001-05-18 Thread Stefan Huber
>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)---

[ADMIN] Script to createuser

2001-05-18 Thread Rebecca . R . Hepper
Hello All, I am running Redhat 7.0. I am trying to create a script that will add a user. My script looks like this: echo 'createuser becky -d -a' | su postgres When I run my script, I receive the following message even though the user is created. bash: /home/username/. bashrc: Permission de