3 ms·
CREATE USER X IDENTIFIED BY PASSWORD Googled that and not one result on the first page mentioned PostgreSQL. I don't think this approach is a common one at al
by mgkimsal 9y ago
CREATE USER X IDENTIFIED BY PASSWORD
Googled that and not one result on the first page mentioned PostgreSQL. I don't think this approach is a common one at all. More to the point, I'm not sure i've ever seen that set of instructions anywhere, ever, for pgsql. Every tutorial and intro focuses on running 'createuser'.
Oh, yeah, and you'll need to be root to go in and futz with your pg_hba.conf file, then have permissions to write it out and restart the server (probably as root).
This 'createuser' approach hasn't been a '5 minute experience' - it's been the approach that is promoted as the default answer/approach almost everywhere I've ever looked for several years.