I think in your dscl command, instead of running -create you want to do -append . Apple tends to prefix subheadings for daemon usernames. So, Apple probably created the _postgres label for user 101. By doing -create , you delete the user _postgres by default and replace him with postgres, which may cause other problems in the future. If you run -append , then you can use _postgres or postgres to refer to user 101. In any case, you must make -list before executing either -create or -append , just so that you know the land of the earth.
Note. I still use Snow Leopard, so I canโt verify that user 101 is indeed _postgres , but I expect Apple to still use the same naming conventions as Leopard and Snow Leopard, and that Work. Running -list will show you what you need to know to confirm my suspicions.
Hawkeye
source share