User Tools

Site Tools


user:jcavalu3:portfolio:eoce:0x1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user:jcavalu3:portfolio:eoce:0x1 [2014/05/08 04:42] – [Down to Business] jcavalu3user:jcavalu3:portfolio:eoce:0x1 [2014/05/08 04:55] (current) – [NIS Configuration] jcavalu3
Line 152: Line 152:
 ---- ----
  
-I followed a tutorial online to setup the NIS server and clients.+I followed a tutorial online to set up the NIS server and clients.
  
 Server configuration can be seen [[http://www.server-world.info/en/note?os=Debian_7.0&p=nis|here]]. Server configuration can be seen [[http://www.server-world.info/en/note?os=Debian_7.0&p=nis|here]].
Line 169: Line 169:
 At the end of the installation, it will ask you to to choose the NIS "domainname" for the server, which I called **cortana** to keep the naming scheme for the project uniform. Next comes the file configuration: At the end of the installation, it will ask you to to choose the NIS "domainname" for the server, which I called **cortana** to keep the naming scheme for the project uniform. Next comes the file configuration:
  
-To go along with the tutorial and keep things simple and readable, I will only list the important changes in each file (all changes indicated with **change**:+To go along with the tutorial and keep things simple and readable, I will only list the important changes in each file (all changes indicated with **change**): 
 + 
 +<file>
  
-<text> 
 root@cortana:~# vi /etc/default/nis root@cortana:~# vi /etc/default/nis
  
Line 212: Line 213:
 root@cortana:~# cd /var/yp root@cortana:~# cd /var/yp
 root@cortana:~# make root@cortana:~# make
-</text> 
  
 +</file>
 +
 +===Client Configuration===
 +
 +Client configuration begins with the installation of the NIS package and asks for the NIS domain name, which will be **cortana**.
 +
 +Next, the real configuration:
 +
 +<file>
 +
 +root@client:~# vi /etc/yp.conf
 +
 +# At the end of the file, add the domain name followed by the server in the following format:
 +cortana cortana.projects.lan
 +
 +
 +
 +root@client:~# vi /etc/nsswitch.conf
 +
 +passwd:         compat **nis**     # added on line 7
 +group:          compat **nis**     # added
 +shadow:         compat **nis**     # added
 +
 +hosts:          files dns **nis**  # added
 +
 +# Lastly, reboot the client.
 +</file>
 +
 +With NFS and NIS configured correctly, you should now be able to log onto cortana from arbiter and masterchief as the users on cortana.
  
user/jcavalu3/portfolio/eoce/0x1.1399524140.txt.gz · Last modified: 2014/05/08 04:42 by jcavalu3