Changes between Initial Version and Version 1 of Ticket #14083
- Timestamp:
- Jan 26, 2008, 11:28:29 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14083
-
Property
Type
changed from
defect
toenhancement
-
Property
Milestone
changed from
to
Port Enhancements
-
Property
Type
changed from
-
Ticket #14083 – Description
initial v1 3 3 instead of 4 4 5 {{{ 5 6 su postgres -c "${PGCTL} -D ${POSTGRESQL82DATA:=/opt/local/var/db/postgresql82/defaultdb} start -l /opt/local/var/log/postgresql82/postgres.log" 7 }}} 6 8 7 9 do 10 11 {{{ 8 12 sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' | ${LOGUTIL} '${PGLOG}' ${ROTATESEC} &" 13 }}} 9 14 10 15 The latter is the postgresql way now, and doesn't require the "postgres" user to have a login shell, which is more secure. 11 16 12 Also, when creating the "postgresql" user, set the shell to /usr/bin/false. 17 Also, when creating the "postgresql" user, set the shell to `/usr/bin/false`. 18