LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2010, 02:26 PM   #1
casterln
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?

Thanks!
_Gary
 
Old 03-06-2010, 01:47 AM   #2
casterln
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.
 
  


Reply



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 03:08 PM
Red Hat, problems to login with NIS but ypcat works aussiebuddha Linux - Networking 2 03-23-2005 06:41 PM
NIS: ypcat works, login doesn't kadissie Linux - Networking 1 10-18-2004 09:00 AM
/etc/shadow- (notice the dash after the word shadow) shellcode Linux - Security 1 09-03-2004 04:54 AM
Migrate from older passwd/shadow to NIS JesteR Linux - General 0 11-28-2001 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:46 PM.

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