I'm installing PostgreSQL on RedHat Linux using rpm installers and I'm trying to get the application to be owned and run by a system user other than "postgres", for example "dbuser5". It seems I could change the permissions on the postgres application and database files after the install, but then the /etc/init.d/postgresql script will still have references to the postgres system user. Since there may be other files that reference this default system user, I'm hoping there's some better way to do this.
Preferably, I'd like to configure this during the install, but if I have to do it after the fact, that should work as well.
initdb
was invoked as -- Thereafter they are independent though, and you can even rename the database superuser if you want)