Re: problem with initlocation

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

 



Tom Lane wrote:

"Josef J. Micka" <postgres@xxxxxxxx> writes:
i want to make database in another place and i'm unable to use initlocation, and i don't know, what i'm doing wrong.

this is what i do, and i think it's correct.

www:/home/db/postgres$ su postgres

Try "su - postgres" ... plain su retains root's environment.

			regards, tom lane
thanks, that works
i'm using su only sometimes, and don't know about this apearance. (never had problems with "su" becausy mostly i'm running it from non-privileged user, but because user postgres has no password and no shell, i must do that from root this time)

so thanks again.

regards,
Josef


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux