Blob Blame Raw
--- cyphesis.init.orig	2006-07-31 19:10:56.000000000 -0700
+++ cyphesis.init	2006-08-10 15:45:57.000000000 -0700
@@ -45,7 +45,7 @@
         # Make sure the user has a postgres account
         if ! su $CYPHESISUSER -c "psql -c \"\" template1" >/dev/null 2>&1; then
             echo -n $"Creating PostgreSQL account: "
-            su $POSTGRESUSER -c "createuser -A -d $CYPHESISUSER" >/dev/null 2>&1
+            su $POSTGRESUSER -c "createuser -S -R -d $CYPHESISUSER" >/dev/null 2>&1
             RETVAL=$?
             if [ $RETVAL -eq 0 ]; then
                 echo_success