Thread: Starting PostgreSQL server as root
I installed PostgreSQL 7.3.4 on a red Hat Linux 8.0 system. When I try to install clusters using initdb and postmaster commands to start server and database, an error occurs: You cannot run initdb -D /usr/local/pgsql/data as root. Please log in as the (unprivileged) user that will own the server process. Ok. I know that I need to log in as another Linux user to start PostgreSQL. My problem is that I need to log on as root to access another process such as Firebird. Does exist a way to start Postgre as root? I appreciate some help Best Regards __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
On Thu, Jul 31, 2003 at 12:00:49PM -0700, Daniel Gerardo Lucero Baylon wrote: > Does exist a way to start Postgre as root? su -c "your command here" postgres A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <andrew@libertyrms.info> M2P 2A8 +1 416 646 3304 x110