Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
Need help configuring PAM - Mailing list pgsql-novice
From
yanot panara
Subject
Need help configuring PAM
Date
September 8, 2007
01:06:04
Msg-id
1c0afa540709071805k5d574e6eof6f46735dcac4b31@mail.gmail.com
Whole thread
Raw
List
pgsql-novice
Tree view
Hi,
I wanted to use user accounts in my PostgreSql database for system authentication.
I have installed the following:
Fedora Core 6
Postgresql 8.2.4
pam-pgsql-0.6.3(found at http://sourceforge.net/projects/pam-pgsql/ )
Table for the accounts from my database.
test=# select * from account;
user_id | user_name | first_name | last_name | user_pass | account_type
---------+-----------+------------+-----------+-----------+--------------
1 | admin | admin | admin | admin | admin
I tried the following configuration.
/etc/pam.d/gdm
auth include system-auth
auth required pam_pgsql.so
account required pam_pgsql.so
password required pam_pgsql.so
/etc/pam_pgsql.conf
database = test
host = 10.10.30.247
port = 5432
user = postgres
table = account
user_column = user_name
pwd_column = user_pass
debug
Which resulted to a prompt saying authentication failed.
I then tried the following.
/etc/pam.d/gdm
auth required pam_pgsql.so
account required pam_pgsql.so
password required pam_pgsql.so
/etc/pam_pgsql.conf
database = test
host = 10.10.30.247
port = 5432
user = postgres
table = account
user_column = user_name
pwd_column = user_pass
debug
Which resulted to a lockdown or me not being able to login even with the system account,i managed to fix the lockdown problem but I am still unable to come up with a solution for my configuration to work.Hopefully somebody can help me.
Thanks,
kris
pgsql-novice
by date:
Previous
From:
Tom Lane
Date:
06 September 2007, 19:02:26
Subject:
Re: performance issues and default settings
Next
From:
"Jason Tan Boon Teck"
Date:
08 September 2007, 10:59:58
Subject:
pg_restore and pgadmin3
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies