Re: NIS help

看板DFBSD_kernel作者時間21年前 (2004/10/12 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
On Mon, 2004-10-11 at 14:17 +0000, Ryan Newman wrote: > From reading online I think I'm setting this up correctly... > > cd /var/yp > ln -s /etc/passwd ./passwd > ypinit -m testdomain > > and I've added this to /etc/rc.conf > nisdomainname="testdomain" > nis_server_enable="YES" > nis_ypxfrd_enable="YES" > nis_yppasswdd_enable="YES" > > Then on the client I add to /etc/rc.conf > nisdomainname="testdomain" > nis_client_enable="YES" > and the entry into master.passwd and group +::: etc.. > > I can login fine to the client machine with user accounts on the server but > when I change a password on the server the changes aren't reflected on the > client side. I'm not sure what is up perhaps there is some user error here > but I am following what I read online. Is the account for the user you are trying to change the password for an NIS account or a local account to the server? If the latter, the password change will not propagate. Try changing the password on one of the client machines and see if that works. -- Glenn Johnson <glennpj@charter.net>
文章代碼(AID): #11QigH00 (DFBSD_kernel)