LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-21-2004, 01:16 PM   #1
Ja5on15
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
NIS and Mandrake


Howdy.

I'm trying to setup NIS. I've got everything going just fine with the SuSE machines, but I've got a Mandrake machine (I think it's 9.2) that's not acting the way I want it too. It see the NIS servers and users can log on and everything. But here's the problem. Any user listed in NIS is able to log onto this Mandrake machine without an entry in /etc/passwd. The passwd file doesn't have '+::::::' or '+username::::::' in it. I thought this was a requirement for NIS to work? And even if I do put '+username1::::::' into /etc/passwd, user username2 can still log in via NIS; it makes no difference.

Anyone know why this is and\or where I can shut this feature off?

Thank you!!!
 
Old 07-22-2004, 01:29 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
To specifically disable access to username2 in your NIS client you can create a /etc/passwd entry like:
username2:*:::::

The authentication process should take the first entry it finds for username2, and not bother your NIS server for the valid username2 entry

No suggestions for the general case, other than to setup a separate NIS server for systems with restricted access.
 
  


Reply


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
NIS-Problem - search for NIS-Guru or SuSE Profesional krischeu MEPIS 0 06-16-2005 07:21 AM
nis problem on mandrake 10.0 official kpg Linux - Networking 0 07-19-2004 10:09 AM
NIS Domain with Mandrake 9.1 server cleekjc Linux - Networking 0 04-08-2004 11:08 AM
Mandrake 9.1 NIS and Samba Help tapanga Linux - Networking 5 10-06-2003 09:29 AM
NIS Domain Problems on Mandrake 9.0 linuxmidnewbie Linux - Networking 0 05-14-2003 12:44 PM

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

All times are GMT -5. The time now is 03:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration