At times it may be useful to use the features of NIS ourselves. Doing this means we don't have to be concerned about ensuring that the same files are up-to-date on every machine or about distributing them. The problem is that we have to customize the makefile to add this support, which can be quite tricky.
To show how this can be done, we will add a hypothetical map to our setup. The one we'll use will be responsible for controlling which users have access to applications on which machines.
This is the input file that will be used to build the map. It contains a list of UIDs, the machine each UID can use, and a list of the applications the UIDs are allowed access to:
tin# cat /etc/userAccess # # UID ...