pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Password
9+ messages / 6 participants
[nested] [flat]

* Password
@ 2000-01-14 12:08 Strand Johan F. <johan.f.strand@telia.se>
  2000-01-14 14:35 ` Re: [ADMIN] Password Brad Bonkoski <bbc1049@saintjoe.edu>
  0 siblings, 1 reply; 9+ messages in thread

From: Strand Johan F. @ 2000-01-14 12:08 UTC (permalink / raw)
  To: pgsql-admin

Hi !

Is it possible to configure the postgresql database server to
require password when you log in from the same host as the 
databse server ?

in my case I have a java-program that access the database
through JDBC but it doesen't matter what I type in passwd field
as long as the user-id are correct.

If you can, how ?

Thanks

/Johan
johan.f.strand@telia.se



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

* Re: [ADMIN] Password
  2000-01-14 12:08 Password Strand Johan F. <johan.f.strand@telia.se>
@ 2000-01-14 14:35 ` Brad Bonkoski <bbc1049@saintjoe.edu>
  0 siblings, 0 replies; 9+ messages in thread

From: Brad Bonkoski @ 2000-01-14 14:35 UTC (permalink / raw)
  To: Strand Johan F. <johan.f.strand@telia.se>; +Cc: pgsql-admin

Hello...
You are able to make users authenticate by setting up your pg_hba.conf
file.  Instead of trust at the end use password.  I would read the
manual on security because it gives you some pretty clear axample f what
you probably want.
Hope this helps
-Brad

"Strand Johan F." wrote:

> Hi !
>
> Is it possible to configure the postgresql database server to
> require password when you log in from the same host as the
> databse server ?
>
> in my case I have a java-program that access the database
> through JDBC but it doesen't matter what I type in passwd field
> as long as the user-id are correct.
>
> If you can, how ?
>
> Thanks
>
> /Johan
> johan.f.strand@telia.se
>
> ************




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

* password
@ 2000-05-27 09:39 Vladimir V. Zolotych <gsmith@eurocom.od.ua>
  2000-05-27 11:07 ` Re: password Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 1 reply; 9+ messages in thread

From: Vladimir V. Zolotych @ 2000-05-27 09:39 UTC (permalink / raw)
  To: pgsql-admin

Hello all,

Very simple question if you please

How can I set password on existing database ?

Thanks!

--
Vladimir Zolotych                         gsmith@eurocom.od.ua

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

* Re: password
  2000-05-27 09:39 password Vladimir V. Zolotych <gsmith@eurocom.od.ua>
@ 2000-05-27 11:07 ` Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 0 replies; 9+ messages in thread

From: Oliver Elphick @ 2000-05-27 11:07 UTC (permalink / raw)
  To: Vladimir V. Zolotych <gsmith@eurocom.od.ua>; +Cc: pgsql-admin; olly@linda.lfix.co.uk

"Vladimir V. Zolotych" wrote:
  >How can I set password on existing database ?

template1=# \help alter user
Command:     ALTER USER
Description: Modifies user account information
Syntax:
ALTER USER username
    [ WITH PASSWORD 'password' ]
    [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]
    [ VALID UNTIL 'abstime' ]

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "All that the Father giveth me shall come to me; and
      him that cometh to me I will in no wise cast out."
                                      John 6:37 





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

* password
@ 2000-07-27 10:21 Wuttipong Suvaphrom <wuttipong_s@nomagicasia.com>
  2000-07-28 02:20 ` Re: password Wuttipong Suvaphrom <wuttipong_s@nomagicasia.com>
  0 siblings, 1 reply; 9+ messages in thread

From: Wuttipong Suvaphrom @ 2000-07-27 10:21 UTC (permalink / raw)
  To: pgsql-admin

Hi all,

when I create users , I use creatuser user1.
Is that user(user1) will be in  file pg_shadow ?
How can I create password for that user ?
and How can I encrypt text in  my databases ?

thanks a lot.

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

* Re: password
  2000-07-27 10:21 password Wuttipong Suvaphrom <wuttipong_s@nomagicasia.com>
@ 2000-07-28 02:20 ` Wuttipong Suvaphrom <wuttipong_s@nomagicasia.com>
  0 siblings, 0 replies; 9+ messages in thread

From: Wuttipong Suvaphrom @ 2000-07-28 02:20 UTC (permalink / raw)
  To: pgsql-admin

Thanks for answering my question.
 
May I ask a bit more ?
Do you know how to use ident in pg_hba.conf ? I don't know how it works.
I use pg_access to design databases and link it  together by foreign keys.
So I can't use Select * from sampletable ; It said  no relation.
I must use select t0.name, t0.surname from .... instead of 

Do you have any suggestion ?


thanks.

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

* password
@ 2001-04-16 19:50 benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
  2001-04-16 20:21 ` Re: password Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 1 reply; 9+ messages in thread

From: benoit.le-dizes@voila.fr @ 2001-04-16 19:50 UTC (permalink / raw)
  To: pgsql-admin

I use postgresql 7.x on red hat 7.0

I use pgaccess and I have created new users with password
but when I want to open a database with a new user which normally needs a password, if I don't assign the password, the database is open without it.

Why ?

__________________________________________________
Voila vous propose une boite aux lettres gratuite sur Voila Mail:
http://mail.voila.fr






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

* Re: password
  2001-04-16 19:50 password benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
@ 2001-04-16 20:21 ` Oliver Elphick <olly@lfix.co.uk>
  2001-04-16 22:58   ` Re: password Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 1 reply; 9+ messages in thread

From: Oliver Elphick @ 2001-04-16 20:21 UTC (permalink / raw)
  To: benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>; +Cc: pgsql-admin

"benoit.le-dizes@voila.fr" wrote:
  >I use postgresql 7.x on red hat 7.0
  >
  >I use pgaccess and I have created new users with password
  >but when I want to open a database with a new user which normally needs a pa
      >ssword, if I don't assign the password, the database is open without it.
  >
  >Why ?
 
Access control is defined by the text file pg_hba.conf.  The default setting
in this file is 

  local all trust

which means that anyone on the local machine can log into any PostgreSQL
database as any user, without having to give a password.

Read the comments in pg_hba.conf and alter it to suit your desired access
policy.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "But seek ye first the kingdom of God, and his  
      righteousness; and all these things shall be added 
      unto you."     Matthew 6:33 





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

* Re: password
  2001-04-16 19:50 password benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
  2001-04-16 20:21 ` Re: password Oliver Elphick <olly@lfix.co.uk>
@ 2001-04-16 22:58   ` Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 0 replies; 9+ messages in thread

From: Oliver Elphick @ 2001-04-16 22:58 UTC (permalink / raw)
  To: Oliver Elphick <olly@lfix.co.uk>; +Cc: benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>; pgsql-admin

"Oliver Elphick" wrote:
  >  >I use pgaccess and I have created new users with password
 ...
  >Access control is defined by the text file pg_hba.conf.  The default setting
  >in this file is 
  >
  >  local all trust
  >
  >which means that anyone on the local machine can log into any PostgreSQL
  >database as any user, without having to give a password.
 
I should add that pgaccess uses 'local' access (Unix sockets) if the hostname
is left blank.  If you want to use TCP/IP you can set it to 'localhost',
in which case 'host' lines in pg_hba.conf will apply instead.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "But seek ye first the kingdom of God, and his  
      righteousness; and all these things shall be added 
      unto you."     Matthew 6:33 





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


end of thread, other threads:[~2001-04-16 22:58 UTC | newest]

Thread overview: 9+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-01-14 12:08 Password Strand Johan F. <johan.f.strand@telia.se>
2000-01-14 14:35 ` Brad Bonkoski <bbc1049@saintjoe.edu>
2000-05-27 09:39 password Vladimir V. Zolotych <gsmith@eurocom.od.ua>
2000-05-27 11:07 ` Re: password Oliver Elphick <olly@lfix.co.uk>
2000-07-27 10:21 password Wuttipong Suvaphrom <wuttipong_s@nomagicasia.com>
2000-07-28 02:20 ` Re: password Wuttipong Suvaphrom <wuttipong_s@nomagicasia.com>
2001-04-16 19:50 password benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
2001-04-16 20:21 ` Re: password Oliver Elphick <olly@lfix.co.uk>
2001-04-16 22:58   ` Re: password Oliver Elphick <olly@lfix.co.uk>

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