NIS

Initial Requirement Requirements Setting up a NIS Server Setting up a NIS Slave Server Setting up a NIS client NIS Commands

ypcat: cats the file requested

$ ypcat passwd
$ ypcat hosts
 
ypwhich: matches your server
$ ypwhich
ponto.example.com
ypmatch: prints the values of the keys requested
 $ ypmatch pattyo auto.home
-rw,noquota ponto:/home/pattyo
yppasswd: changes your password in the NIS database
 $ yppasswd username
NIS and Security NIS Spoofing Troubleshooting NIS
  • Is the server running?
  •      If you are running server in broadcast mode
  • Is the client running?
  • Adding new NIS maps
  • Changes are made on NIS Master Server
  • Our example will be a file with phone numbers in it
  • Getting new map from the master onto a slave server
  • Turning a dbm map file into readable text