how to make psql user persistent

Viewed 13

If I create a DB user with

"sudo -u postgres psql -c "CREATE USER guacamole PASSWORD 'PW'; GRANT ALL PRIVILEGES ON DATABASE guacamole TO guacamole"

this user disappears after reboot. How can I make this user/command persistent, so that I do not need to recreate after reboot

thanks

0 Answers
Related