The fncopy command handles the FNS-related aspects of changing your underlying enterprise-level naming service from NIS to NIS+. This command copies and converts NIS-based FNS contexts to NIS+ based contexts.
fncopy [-i oldsvc -o newsvc] [-f filename] oldctx newctx  | 
| 
 Option  | 
 Description  | 
|---|---|
| 
 -i oldsvc  | 
 Source naming service. Only nis or files may be specified.  | 
| 
 -o newsvc  | 
 Target naming service. Only nisplus or nis may be specified.  | 
| 
 -f filename  | 
 Name of file listing the FNS contexts to be copied  | 
| 
 oldctx  | 
 Old FNS context to be copied  | 
| 
 newctx  | 
 Target new FNS context  | 
For example, to copy the contexts listed in the file /etc/sales_users from the doc.com domain of a NIS-based naming service to the sales.doc.com domain of an NIS+ naming service, you would enter:
fncopy -i nis -o nisplus -f /etc/sales_users org/sales.doc.com/user  |