[postgis-users] Unable to drop user and db

Smaran Harihar smaran.harihar at gmail.com
Tue Jun 19 11:49:11 PDT 2012


Hi Guys,

I am trying to execute the following command to remove user and db geonode,

if su - postgres -c 'psql -l | grep -q geonode'; then su - postgres -c
'dropdb geonode'; su - postgres -c 'dropuser geonode'; fi

It is asking me for a password. I do not the password. How can I change
this password or drop the user and db without knowing the password?

-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120619/1179ab8e/attachment.html>


More information about the postgis-users mailing list