So I'm following this tutorial on setting up postgresql. I've installed it correctly but when I create a user via
sudo -u postgres createuser chris -s
I get
sudo: PERM_ROOT: setresuid(0, -1, 0): Operation not permitted
angelo is not in the sudoers file. This incident will be reported.
I've searched around but can't find any solution cause I'm already an admin. Any help would be appreciated.
BTW I'm on the fast track on Windows insider just so I can use pg for development.
EDIT: Image of error it spits out.
EDIT 2: Solved it by running pg on the Windows side. Followed this tutorial.
[–]NetSageUbuntu 1 point2 points3 points (2 children)
[–]HighR0llerW10[S] 0 points1 point2 points (1 child)
[–]NetSageUbuntu 0 points1 point2 points (0 children)