Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-03-2010, 03:26 PM   #1
LQ Newbie
Registered: May 2009
Posts: 3

Rep: Reputation: 0
ubuntu karmic nis client 'ypcat shadow.byname' works, but 'getent shadow' fails

I upgraded to Ubuntu 9.10 (karmic) and can't seem to get it to allow
logins using passwords from the nis shadow map.

Good: ypcat shadow.byname | grep nisusername
shows the shadow entry for nisusername

NotGood: getent shadow
shows only what is in the file /etc/shadow

I'm using nsswitch.conf entry
shadow: files nis
I have a '+' at the end of the /etc/shadow file

'ypcat passwd' works as expected; so does 'getent passwd'

The nis server is Debian 4.0 (etch).

What am i missing? What should I check?

Old 03-06-2010, 02:47 AM   #2
LQ Newbie
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Finally had to give up and use libnss-extrausers and rsync the shadow file from the ypmaster every hour.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting saslauthd to work with NIS passwd/shadow Fredzo1966 Linux - Server 1 11-03-2009 04:08 PM
Red Hat, problems to login with NIS but ypcat works aussiebuddha Linux - Networking 2 03-23-2005 07:41 PM
NIS: ypcat works, login doesn't kadissie Linux - Networking 1 10-18-2004 10:00 AM
/etc/shadow- (notice the dash after the word shadow) shellcode Linux - Security 1 09-03-2004 05:54 AM
Migrate from older passwd/shadow to NIS JesteR Linux - General 0 11-28-2001 07:03 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration