pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
command line options to pass to the postmaster - controlling UNIX socket permiss
2+ messages / 2 participants
[nested] [flat]

* command line options to pass to the postmaster - controlling UNIX socket permiss
@ 2005-11-29 15:36 Dan The Man <bitsandbytes88@hotmail.com>
  2005-11-29 16:35 ` Re: command line options to pass to the postmaster - controlling UNIX socket permiss Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Dan The Man @ 2005-11-29 15:36 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I'm running postgres on a Linux server SuSE SLES.   When I run postgresql 
8.0.3, I get /tmp/.s.PGSQLl.5432 socket open with group and owner 
permissions.  The group permissions are the default group of the postgres 
account and the owner is postgres.  If I want to start postgres with a 
non-default group called db-admins or something is that an option?

2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005 x86_64 x86_64 x86_64 
GNU/Linu

   1 postgres wheel  37 2005-11-29 10:30 .s.PGSQL.5432.lock
srwxrwx---   1 postgres wheel   0 2005-11-29 09:50 .s.PGSQL.5442
-rw-------   1 postgres wheel  37 2005-11-29 09:50 .s.PGSQL.5442.lock


~DjK





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: command line options to pass to the postmaster - controlling UNIX socket permiss
  2005-11-29 15:36 command line options to pass to the postmaster - controlling UNIX socket permiss Dan The Man <bitsandbytes88@hotmail.com>
@ 2005-11-29 16:35 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2005-11-29 16:35 UTC (permalink / raw)
  To: Dan The Man <bitsandbytes88@hotmail.com>; +Cc: pgsql-admin

"Dan The Man" <bitsandbytes88@hotmail.com> writes:
> I'm running postgres on a Linux server SuSE SLES.   When I run postgresql 
> 8.0.3, I get /tmp/.s.PGSQLl.5432 socket open with group and owner 
> permissions.  The group permissions are the default group of the postgres 
> account and the owner is postgres.  If I want to start postgres with a 
> non-default group called db-admins or something is that an option?

See
http://www.postgresql.org/docs/8.0/static/runtime-config.html#RUNTIME-CONFIG-CONNECTION
particularly unix_socket_group and unix_socket_permissions.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-11-29 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-29 15:36 command line options to pass to the postmaster - controlling UNIX socket permiss Dan The Man <bitsandbytes88@hotmail.com>
2005-11-29 16:35 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox