NAME fncheck - check for consistency between FNS data and NIS+ data SYNOPSIS fncheck [ -r ] [ -s ] [ -u ] [ -t type ] [ domain_name ] DESCRIPTION fncheck is used for checking for inconsistencies between FNS username or hostname contexts and the contents of the corresponding NIS+ passwd.org_dir or hosts.org_dir tables, respectively, in the NIS+ domain domain_name. If domain_name is omitted, the domain name of the current machine is used. By default (in the absense of the -r and -s options), the following inconsistencies are displayed: o items that appear only in the FNS context but do not appear in the NIS+ table, o items that appear only in the NIS+ table but do not appear in the FNS context. OPTIONS -r Display only items that appear in the FNS context but do not appear in the corresponding NIS+ table. -s Display items that appear in the NIS+ table but do not appear in the corresponding FNS context. -u Update the FNS context based on information in the corresponding NIS+ table. If the -r option is used, items that appear only in the FNS context are removed from the FNS context. If the -s option is used, items that appear only in the NIS+ table are added to the FNS context. If neither -r or -s are specified, items are added and removed from the FNS context to make it consistent with the corresponding NIS+ table. -t type Specify the type of context to check. type can be either hostname or username. If this option is omit- ted, both hostname and username contexts are checked. If type is hostname, the FNS hostname context is checked against the NIS+ hosts.org_dir table. If type is username, the FNS username context is checked against the NIS+ passwd.org_dir table. USAGE Although fncheck can be used to add users and hosts to the username and hostname contexts as new users and hosts are added to NIS+, that is not its intended purpose. fncheck is an expensive operation because it makes complete comparisons of the NIS+ table and the corresponding FNS context. When a user or host is added or removed from NIS+ using admintool (see admintool(1M)), it automatically updates the appropri- ate FNS contexts. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWfns | |_____________________________|_____________________________| SEE ALSO admintool(1M), fncreate(1M), fndestroy(1M), nis(1), attri- butes(5), fns( 5), fns_policies(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |