Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su: Authentication service cannot retrieve... (a solution)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Prospero
n00b
n00b


Joined: 29 Nov 2003
Posts: 70
Location: The Netherlands

PostPosted: Fri Sep 30, 2005 2:50 pm    Post subject: su: Authentication service cannot retrieve... (a solution) Reply with quote

Hey people,

I just emerged postgresql, and while trying to start the server it gave me the following error:

Code:

su: Authentication service cannot retrieve authentication info.


After some Googling, I came to the conclusion that there weren't any straight answers to the problem, many people mentioned LDAP, which isn't on my system, though a lot of people mentioned PAM as well - at one place people mentioned not having an entry in /etc/passwd.

This wasn't the problem... but it did give me an idea: I checked /etc/shadow, and behold: no entry for the postgres user. I added a blank entry (copied from other values) there, and now it all works.

Hope this helps other people
Back to top
View user's profile Send private message
ThorstenHirsch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 111

PostPosted: Fri Oct 07, 2005 12:19 pm    Post subject: Reply with quote

Hi,

I had the same problem. Here is a better solution: use pwconv.

Thorsten
_________________
alias bauerbob
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum