Opened 15 years ago
Closed 8 years ago
#19861 closed defect (wontfix)
launchd script for postgresql83-server doesn't work due to disabled shell
Reported by: | alpha@… | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | tiger | Cc: | |
Port: | postgresql83-server |
Description
launchd startup script for PostgreSQL executes pg_ctl with permissions of the 'postgres' user, using su. The problem is that the 'postgres' user by default has /usr/bin/false shell which prevents it from executing any commands with su. In order to make the script work I had to manually change the shell to /bin/tcsh. I'm using Tiger.
To reproduce:
# su postgres -c id [NO OUTPUT AT ALL] # chsh -s /bin/tcsh postgres chsh: netinfo domain "." updated # su postgres -c id uid=252(postgres) gid=252(postgres) groups=252(postgres)
Change History (5)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Cc: | jwa@… added |
---|---|
Owner: | changed from mww to mww@… |
comment:2 Changed 14 years ago by jmroot (Joshua Root)
Keywords: | tiger added |
---|
comment:4 Changed 8 years ago by mf2k (Frank Schima)
Cc: | jyrkiwahlstedt removed |
---|---|
Owner: | changed from mww@… to jyrkiwahlstedt |
Status: | new → assigned |
comment:5 Changed 8 years ago by jyrkiwahlstedt
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
postgresql8x are severely out-of-date
Note: See
TracTickets for help on using
tickets.
Note: full email addresses must be used in Trac.