Re: [ADMIN] my postgres.init file
От | Benjamin Gonay |
---|---|
Тема | Re: [ADMIN] my postgres.init file |
Дата | |
Msg-id | Pine.LNX.3.96.990110103745.23656A-100000@ltlg1.bc обсуждение исходный текст |
Ответ на | my postgres.init file ("Vance Greenway" <vance@ricochet.net>) |
Список | pgsql-admin |
Hi Vance, To start the postmaster, at startup, as root, do : su - postgres -c "postmaster ......" (with your needed options) This doesn't need any password, as it's root which start your script instead of (really) an other user, here the 'postgres' user account. Be carefull to NOT FORGET the 'postgres' after the 'su -' , else the postmaster will start us root, which is very bad for the database security. Hope this help you... Cybersalutations. Benjamin Gonay --------------------------------------------------------------------------- _/ Email internet : Benjamin.Gonay@ltlg1.is.belgacom.be _/ _/ ~~ Soyons realistes, exigeons l'impossible. (E. Che Guevara) ~~ _/ _/ - - [Belgium - Liege] - - - - - - - - - - - - - - - - - - - - - - - _/ _/ linux forever...Linux Forever...LINUX Forever...LINUX FOREVER !!!!! _/ ---------------------------------------------------------------------------
В списке pgsql-admin по дате отправления: