Changes between Initial Version and Version 1 of Ticket #14083


Ignore:
Timestamp:
Jan 26, 2008, 11:28:29 PM (17 years ago)
Author:
jmpalacios (Juan Manuel Palacios)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14083

    • Property Type changed from defect to enhancement
    • Property Milestone changed from to Port Enhancements
  • Ticket #14083 – Description

    initial v1  
    33instead of
    44
     5{{{
    56  su postgres -c "${PGCTL} -D ${POSTGRESQL82DATA:=/opt/local/var/db/postgresql82/defaultdb} start -l /opt/local/var/log/postgresql82/postgres.log"
     7}}}
    68
    79do
     10
     11{{{
    812  sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' | ${LOGUTIL} '${PGLOG}' ${ROTATESEC} &"
     13}}}
    914
    1015The latter is the postgresql way now, and doesn't require the "postgres" user to have a login shell, which is more secure.
    1116
    12 Also, when creating the "postgresql" user, set the shell to /usr/bin/false.
     17Also, when creating the "postgresql" user, set the shell to `/usr/bin/false`.
     18