Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

no entry in /etc/shadow for postgres user?

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
_Max_
Apprentice
Apprentice
Posts: 264
Joined: Mon Mar 03, 2003 3:48 pm
Location: London, UK

no entry in /etc/shadow for postgres user?

  • Quote

Post by _Max_ » Thu Sep 15, 2005 10:56 am

Hi,

I am not sure where the postgres user comes from (is this in the initial stage-X tarballs? postgres-8.0.3.ebuild?), but on my system it doesn't seem to have an /etc/shadow entry.

When I su to postgres (to create users on my postgres database), I get the following message:
# su postgres
su: Authentication service cannot retrieve authentication info.
(Ignored)
I assume that is because there is no entry in /etc/shadow corresponding to the postgres user.

Is there a reason that the postgres user doesn't have a password? Should I create a password for my postgres user? Is this a bug?

Thanks.
Ceci n'est pas une sig.
Top
kallamej
Administrator
Administrator
User avatar
Posts: 4993
Joined: Fri Jun 27, 2003 10:05 am
Location: Gothenburg, Sweden

  • Quote

Post by kallamej » Thu Sep 15, 2005 12:31 pm

Moved from Installing Gentoo to Networking & Security, not an non-GUI initial installation question.
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Top
limn
l33t
l33t
Posts: 997
Joined: Fri May 13, 2005 8:08 pm

  • Quote

Post by limn » Thu Sep 15, 2005 2:49 pm

This is a PAM warning.
Some have used pwconv, which will create a corresponding entry in /etc/shadow for every entry in /etc/passwd.
postgres should not have a password,
One way to get rid of the warning would be to use

Code: Select all

vipw -s
to add just an entry for postgres make sure the second field is '*'.
See bug 98406
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic