You do not have the postgres bin directory in your search path for
commands.
run ./createdb ardell this should work
HTH
Darren
On Wed, 11 Jun 2003, Ardell Dzaky wrote:
> Hi folks,
>
> As 'postgres su' I have created new postgres user
> $ createuser ardell
> ....allowed to create database? yes
> ....allowed to create more new users? no
> CREATE USER
>
> Than login as new user
> $ su - ardell
> $ createdb test
> bash: createdb: command not found
>
> Can new user 'ardell' create a db?
> How fix this problem?
> Many thanks!
>
> =====
> Regards,
> Ardell
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Darren Ferguson