Search Postgresql Archives

Re: How to remove superuser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bruce Momjian wrote:
Also, you can do:
	NET USER postgres /delete

as an administrator.


or NET USER postgres *

and then enter a new password. I dislike deleting the account in case there are any files left behind by the old postgres such as the old pgdata directory, a new one is a different account.

but on vista and win7, with the UAC privilege masking thing, you have to be runnign CMD as Administrator before you can do this, as the regular cmd prompt is unprivileged and won't invoke the UAC elevation stuff. you can right-click Run As Admin the shortcut to CMD to get a privileged command prompt.



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux