Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th January 2006, 04:42 PM
alinuxFF Offline
Registered User
 
Join Date: Oct 2005
Posts: 26
NIS login different in client and server

I have set up an NIS server and one client. From the client I can verify NIS is working by using ypwhich - I get the answer I was expecting i.e. spider (the name of the server). Fred has an account on both computers set up before the NIS server was set up. On the client I changed the NIS password using yppasswd. When I logged onto the server machine Fred had to use the new password that had been changed on the client. BUT Fred's password on the client remained the old password. I checked to see ypbind was still running on the client - and it was. So how can I get NIS to really control the password on the client?

Another quick question - when I create a new user on the server - is it possible that the home directory etc is created on all network machines, or does this have to be done one by one?

Thanks!
Reply With Quote
  #2  
Old 18th January 2006, 07:19 PM
CrystalCowboy's Avatar
CrystalCowboy Offline
Registered User
 
Join Date: Sep 2004
Posts: 536
Clarify please: are you saying you had an account on both machines before you set up NIS? If so, try removing the local account from /etc/passwd.

I prefer to put the home directories of NIS users on NFS-mounted, autofs-mounted directories. That way the directory appears the same no matter which computer the user logs into.
__________________
Explore the Core!
Reply With Quote
  #3  
Old 18th January 2006, 08:36 PM
alinuxFF Offline
Registered User
 
Join Date: Oct 2005
Posts: 26
Good idea

Yes - I did have an account on both machines before I set up NIS. I removed the ID from /etc/passwd in the client and this did work fine. I used the NIS login to access the user's files in the client - thanks! Good advice.

So how do you handle setting up new users? When I created a new user on the server and logged into the client with that user, it accepted the password but had no home directory for it to be assigned to so was going to just let it reside in the root's home directory. I take your point about the NFS home directory, but what is the client machine supposed to do without any assigned home directory to start with? Is there anything in NIS that can set this up in clients as soon as the new user is created?
Reply With Quote
Reply

Tags
client, login, nis, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP Client login problem Gresso Servers & Networking 6 1st May 2009 01:01 PM
Why does a client get a login failure with ppp. ArnoVersfeld Servers & Networking 0 14th May 2007 03:18 PM
open ldap server down, client system root user not abel to login veeraafed Servers & Networking 2 16th February 2006 10:03 AM
How can I set up a domain for Client to Server login canmasagi Servers & Networking 1 1st February 2006 01:28 PM
Single login from FC4 Client to FC3 Servers MrC Servers & Networking 2 13th July 2005 08:32 AM


Current GMT-time: 00:00 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat