[GENERAL] wnat ot edit pg_hba.conf file from command prompt

2011-05-02 Thread sm
hi, 
i want ot modify the pg_hba.conf file from command prompt i tried this
command
C:\Program Files\Postgresql\8.4\binpgadmin3/ch:C:/program
files/postgresql/8.4/data/pg_hba.conf
  but with this a window gets open and there is option to change methos
md5 to trust, is ther any parameters to pass with this command to edit 
“pg_hba.conf”  file silently without user interaction 




--
View this message in context: 
http://postgresql.1045698.n5.nabble.com/wnat-ot-edit-pg-hba-conf-file-from-command-prompt-tp4364462p4364462.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] wnat ot edit pg_hba.conf file from command prompt

2011-05-02 Thread Raymond O'Donnell

On 02/05/2011 12:24, sm wrote:

hi,
i want ot modify the pg_hba.conf file from command prompt i tried this
command
C:\Program Files\Postgresql\8.4\binpgadmin3/ch:C:/program
files/postgresql/8.4/data/pg_hba.conf
   but with this a window gets open and there is option to change methos
md5 to trust, is ther any parameters to pass with this command to edit
“pg_hba.conf”  file silently without user interaction


Well, pg_hba.conf is just a plain text file, if that helps.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
r...@iol.ie

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] wnat ot edit pg_hba.conf file from command prompt

2011-05-02 Thread Sim Zacks

On 05/02/2011 02:24 PM, sm wrote:


hi,
i want ot modify the pg_hba.conf file from command prompt i tried this
command
C:\Program Files\Postgresql\8.4\binpgadmin3/ch:C:/program
files/postgresql/8.4/data/pg_hba.conf
   but with this a window gets open and there is option to change methos
md5 to trust, is ther any parameters to pass with this command to edit
“pg_hba.conf”  file silently without user interaction


sed for windows - http://gnuwin32.sourceforge.net/packages/sed.htm

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] wnat ot edit pg_hba.conf file from command prompt

2011-05-02 Thread Leif Biberg Kristensen
On Monday 02 May 2011 16:28:48 Sim Zacks wrote:

 sed for windows - http://gnuwin32.sourceforge.net/packages/sed.htm

Whatever happened to edlin?

regards, Leif

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] wnat ot edit pg_hba.conf file from command prompt

2011-05-02 Thread Raymond O'Donnell

On 02/05/2011 15:51, Leif Biberg Kristensen wrote:

On Monday 02 May 2011 16:28:48 Sim Zacks wrote:


sed for windows - http://gnuwin32.sourceforge.net/packages/sed.htm


Whatever happened to edlin?


Goodness, I'd forgotten all about that - been a long time... Wikipedia 
says that it was removed from Windows at some point, though there are a 
couple of ports of it knocking around still.


Ray.


--
Raymond O'Donnell :: Galway :: Ireland
r...@iol.ie

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] wnat ot edit pg_hba.conf file from command prompt

2011-05-02 Thread Scott Marlowe
On Mon, May 2, 2011 at 8:57 AM, Raymond O'Donnell r...@iol.ie wrote:
 On 02/05/2011 15:51, Leif Biberg Kristensen wrote:

 On Monday 02 May 2011 16:28:48 Sim Zacks wrote:

 sed for windows - http://gnuwin32.sourceforge.net/packages/sed.htm

 Whatever happened to edlin?

 Goodness, I'd forgotten all about that - been a long time... Wikipedia says
 that it was removed from Windows at some point, though there are a couple of
 ports of it knocking around still.

In all seriousness though, use anything BUT notepad in windows.   Any
good text editor will do.

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general