Zac Warham <cazwarham@xxxxxxxxxxx> writes: > Thank you for the link to the documentation however it is the UID and GID of 1001:1001 that is required, not the username which I believe this is intended for? Is there a similar option for UID and GID? Apologies if my original question was not clear in this manner. The underlying UID/GID will necessarily be that of the OS account that is running initdb. I don't see why you need to worry about it. If you don't want the Postgres role name of the initial superuser role to be the same as the OS account's name, you can select something else using the switch Adrian mentioned --- but that's really mostly cosmetic. It has nothing to do with OS-level privileges. regards, tom lane