Per Qvindesland wrote:
> Hi list
>
> Does anyone know about a good howto setup nis and to make ad see it 
> and use the usernames?
I haven't actually set up NIS in the machine I'm using right now, but if 
I remember correctly, what you need to do to get a machine to use the 
usernames and passwords on an existing NIS server is:

   1. Insert a line like
      domain yourdomainname broadcast
      in the file /etc/yp.conf.
   2. Edit /etc/nsswitch.conf; change the line
      passwd:     files
      to
      passwd:     files nis
      or
      passwd:     nis files
   3. /sbin/chkconfig ypbind start

If you are using DHCP and the DHCP server knows the NIS domain name, 
it's even simpler, as 1) should be done automatically (but it's always a 
good idea to check the file just in case.)

If you're talking about setting up a NIS server, I can't recall much 
about how it's done, I'm afraid...

- Toralf
> Regards
> Per Qvindesland
> E-mail: p...@norhex.com <http://webmail.norhex.com/#>
> http://www.linkedin.com/in/perqvindesland
> ------------------------------------------------------------------------
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, any attachments and response string may contain proprietary 
information, which are confidential and may be legally privileged.  It is for 
the intended recipient only and if you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately.  If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely in this e-mail in any way except as permitted by the author.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to