[Live-demo] 4.0 rc5 build

Hamish hamish_b at yahoo.com
Tue Jul 27 22:32:53 PDT 2010


Alex:
> What user are you running it as?
> The reason that the sudo -u is there is because the scripts
> run as root but root does not have access to postgres only user does.
> 
> So you could try:
> sudo su user
> run commands
> exit (can you do exit in a script like that?)

why not just like in install_posgis.sh?

USER_NAME=user
sudo -u postgres createuser --superuser $USER_NAME


?,
Hamish


      



More information about the Osgeolive mailing list