22 June,16 at 06:55 PM
Question:
How to create NIS map automount entries through adedit and specify its options?
Answer:
The basic flow of creating NIS maps and their entries as follows:
For example, the following commands will create an automount NIS map with rw option.
#adedit >bind dc01@always.sunny freynolds freynolds@dc01@ALWAYS.SUNNY's password: >select_zone "CN=Paddy,CN=Zones,OU=Centrify,DC=always,DC=sunny" >new_nis_map -automount auto.home >save_nis_map >add_map_entry_with_comment Charlie "-rw iasip:/home/ckelly" "For Charlie" >get_nis_map_with_comment {Charlie:1{-rw iasip:/home/ckelly} {For Charlie}}