diff -ruN postgresql-8.1.3-old/src/backend/main/main.c postgresql-8.1.3/src/backend/main/main.c
--- postgresql-8.1.3-old/src/backend/main/main.c	2005-07-15 14:04:23.000000000 +0300
+++ postgresql-8.1.3/src/backend/main/main.c	2005-07-15 14:04:33.000000000 +0300
@@ -204,7 +204,7 @@
 			  strcmp(argv[1], "-V") == 0)))
 	{
 #ifndef WIN32
-#ifndef __BEOS__
+#if 0
 
 		/*
 		 * Make sure we are not running as root.
diff -ruN postgresql-8.1.3-old/src/bin/initdb/initdb.c postgresql-8.1.3/src/bin/initdb/initdb.c
--- postgresql-8.1.3-old/src/bin/initdb/initdb.c	2005-07-15 14:04:23.000000000 +0300
+++ postgresql-8.1.3/src/bin/initdb/initdb.c	2005-07-15 14:04:33.000000000 +0300
@@ -627,7 +627,7 @@
 
 	pw = getpwuid(geteuid());
 
-#ifndef __BEOS__				/* no root check on BEOS */
+#if 0
 
 	if (geteuid() == 0)			/* 0 is root's uid */
 	{
diff -ruN postgresql-8.1.3-old/src/bin/pg_ctl/pg_ctl.c postgresql-8.1.3/src/bin/pg_ctl/pg_ctl.c
--- postgresql-8.1.3-old/src/bin/pg_ctl/pg_ctl.c	2005-07-15 14:04:23.000000000 +0300
+++ postgresql-8.1.3/src/bin/pg_ctl/pg_ctl.c	2005-07-15 14:08:38.100000000 +0300
@@ -1319,7 +1319,7 @@
 	 * Disallow running as root, to forestall any possible security holes.
 	 */
 #ifndef WIN32
-#ifndef __BEOS__				/* no root check on BEOS */
+#if 0
 	if (geteuid() == 0)
 	{
 		write_stderr(_("%s: cannot be run as root\n"
