pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feeduser passwords
3+ messages / 3 participants
[nested] [flat]
* user passwords
@ 2001-12-20 16:18 Jodi Kanter <jkanter@virginia.edu>
2001-12-20 17:26 ` Re: user passwords Nick Fankhauser <nickf@ontko.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jodi Kanter @ 2001-12-20 16:18 UTC (permalink / raw)
To: pgsql-admin
why is it that I can sign in to the postgres database using PSQL without
having to specify a password for a user even thought one has been specified
in pg_shadow?
I signed in to Linux with my own personal id (which is NOT a postgres
account) and used the following command to get in:
psql -U postgres dbname
It let me in to our database as postgres (a superuser account) without even
prompting for a password.
Am I missing something?
thanks
Jodi
_______________________________________________________________ Jodi L
Kanter BioInformatics Database Administrator University of Virginia (804)
924-2846 jkanter@virginia.edu
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: user passwords
2001-12-20 16:18 user passwords Jodi Kanter <jkanter@virginia.edu>
@ 2001-12-20 17:26 ` Nick Fankhauser <nickf@ontko.com>
0 siblings, 0 replies; 3+ messages in thread
From: Nick Fankhauser @ 2001-12-20 17:26 UTC (permalink / raw)
To: Jodi Kanter <jkanter@virginia.edu>; pgsql-admin
You might want to take a look at your pg_hba.conf file to see if the
auth-method is "trust".
Details are here:
http://www.postgresql.org/idocs/index.php?client-authentication.html#PG-HBA.
CONF
-Nick
--------------------------------------------------------------------------
Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Jodi Kanter
> Sent: Thursday, December 20, 2001 11:19 AM
> To: Postgres Admin List
> Subject: [ADMIN] user passwords
>
>
> why is it that I can sign in to the postgres database using PSQL without
> having to specify a password for a user even thought one has been
> specified
> in pg_shadow?
>
> I signed in to Linux with my own personal id (which is NOT a postgres
> account) and used the following command to get in:
>
> psql -U postgres dbname
>
> It let me in to our database as postgres (a superuser account)
> without even
> prompting for a password.
>
> Am I missing something?
> thanks
> Jodi
> _______________________________________________________________ Jodi L
> Kanter BioInformatics Database Administrator University of Virginia (804)
> 924-2846 jkanter@virginia.edu
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: user passwords
@ 2001-12-20 16:46 Felipe Nascimento <Felipe.Nascimento@multivalor.com.br>
0 siblings, 0 replies; 3+ messages in thread
From: Felipe Nascimento @ 2001-12-20 16:46 UTC (permalink / raw)
To: 'Jodi Kanter' <jkanter@virginia.edu>; pgsql-admin
take a look at
http://archives.postgresql.org/pgsql-admin/2001-09/msg00095.php
-----Original Message-----
From: Jodi Kanter [mailto:jkanter@virginia.edu]
Sent: quinta-feira, 20 de dezembro de 2001 14:19
To: Postgres Admin List
Subject: [ADMIN] user passwords
why is it that I can sign in to the postgres database using PSQL without
having to specify a password for a user even thought one has been specified
in pg_shadow?
I signed in to Linux with my own personal id (which is NOT a postgres
account) and used the following command to get in:
psql -U postgres dbname
It let me in to our database as postgres (a superuser account) without even
prompting for a password.
Am I missing something?
thanks
Jodi
_______________________________________________________________ Jodi L
Kanter BioInformatics Database Administrator University of Virginia (804)
924-2846 jkanter@virginia.edu
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-12-20 17:26 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-20 16:18 user passwords Jodi Kanter <jkanter@virginia.edu>
2001-12-20 17:26 ` Nick Fankhauser <nickf@ontko.com>
2001-12-20 16:46 Re: user passwords Felipe Nascimento <Felipe.Nascimento@multivalor.com.br>
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