Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mknetid(8) [netbsd man page]

MKNETID(8)						    BSD System Manager's Manual 						MKNETID(8)

NAME
mknetid -- a NIS filter program SYNOPSIS
mknetid [-q] [-d domain] [-p passwdfile] [-g groupfile] [-h hostfile] [-m netidfile] DESCRIPTION
mknetid is used to create a map named netid.byname. The map consists of information from passwd(5), group(5) and hosts(5) eventually con- catenated with a netid(5) file. The options are as follows: -d domain NIS domain to use instead of the default domain. -g groupfile Alternate group(5) file. Default is /etc/group. -h hostfile Alternate hosts(5) file. Default is /etc/hosts. -m netidfile Alternate netid(5) file. Default is /etc/netid. -p passwdfile Alternate passwd(5) file. Default is /etc/passwd. -q Keep quiet about multiple occurrences of a uid; ignore all but the first. FILES
/etc/group /etc/hosts /etc/netid /etc/passwd SEE ALSO
domainname(1), group(5), hosts(5), netid(5), passwd(5), nis(8) AUTHORS
Mats O Jansson <moj@stacken.kth.se> BSD
February 26, 2005 BSD

Check Out this Related Man Page

MKNETID(8)						    BSD System Manager's Manual 						MKNETID(8)

NAME
mknetid -- generate netid map data SYNOPSIS
mknetid [-q] [-g group_file] [-p passwd_file] [-h hosts_file] [-n netid_file] [-d domain] DESCRIPTION
The mknetid utility processes the contents of the group(5), passwd(5), hosts(5) and netid(5) files into the format used to generate the netid.byname NIS map. This map is used to hold credential information for both users and hosts in an operating system independent format. The mknetid utility checks for duplicate occurrences of netids and filters them out. The mknetid utility prints its results on the standard output. It is usually called only by /var/yp/Makefile when rebuilding the NIS maps. OPTIONS
The mknetid utility supports the following options: -q Normally, mknetid prints a warning message when it encounters a duplicate netid. This flag turns on 'quiet' mode, allowing the warn- ings to be suppressed. Other error messages may still be generated. -g group_file Specify the location of the group information file. The compiled-in default is /etc/group. -p passwd_file Specify the location of the passwd information file. The compiled-in default is /etc/passwd. -h hosts_file Specify the location of the hosts database file. The compiled-in default is /etc/hosts. -n netid_file Specify the location of the netid information file. The compiled-in default is /etc/netid. Note that no error is generated if the netid database cannot be found. The netid database is not likely to be present on most systems until Secure RPC support is added to FreeBSD. -d domain By default, the mknetid utility uses the system domainname when generating netid records. If the system domainname is not set, the domain must be specified on the command line with the -d flag. If the domainname is set, the -d flag may be used to override it. FILES
/var/yp/Makefile the Makefile that calls yp_mkdb and mknetid to build the NIS databases /etc/group the default group database file /etc/passwd the default passwd database file /etc/hosts the default hosts database file /etc/netid the default netid database file SEE ALSO
yp(8), yp_mkdb(8) AUTHORS
Bill Paul <wpaul@ctr.columbia.edu> BSD
June 23, 1996 BSD
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

NIS+ and trusted hosts

Hello there, Can someone tell me if you need to make the hosts trusted hosts if you use NIS+? Thanks, E (2 Replies)
Discussion started by: eknaap
2 Replies

2. IP Networking

Looking up hosts under a domain

hello folks, I am looking for a command on Unix/Linux that will query the hosts connected to a domain.. For Ex: I would like to know what hosts are attached to domain brown.edu . Assume there are: cs.brown.edu, cob.brown.edu, math.brown.edu, mail.brown.edu, web.brown.edu and so on. So when... (1 Reply)
Discussion started by: milhan
1 Replies

3. AIX

nis error

Hi When i run the make command for nis i got the following message /usr/sbin/mknetid: 1831-503 USERNAME groups exceed 32 I tried to use the netgroup map but it doesn't work - Maybe i use it wrongly Any help please (0 Replies)
Discussion started by: skfn1203
0 Replies

4. UNIX for Advanced & Expert Users

To remove the record from a file

Hi , In need to remove the record marked in red My input is as below : 1|ETG|63121387883|Alternate|Y 2||| 3|79.58|||GBP|| 4|001137001 4|0011372 5|1021701 5|1021901 1|ETG|63121387884|Alternate|Y 2||| 3|79.58|||GBP|| 4|001137001 5|1021702 5|1021802 1|ETG|63128363077|Alternate|Y 2|||... (1 Reply)
Discussion started by: laxmi131
1 Replies

5. Shell Programming and Scripting

Removing domain suffix with SED

Hi Experts, I have a syslog file from 1000's of different hosts which I want to adjust by removing the domain suffix from the hosts. My previous attempts haven't managed to match all the different lenghts of the subdomains which are being logged. Could somebody suggest which sed syntax... (6 Replies)
Discussion started by: krypton
6 Replies

6. Filesystems, Disks and Memory

SAN questions about Sun StorageTek array

Hi, I have a question about Sun StorageTek Common Array Manager (CAM): What is the concept of 'host'? Is it the hostname of the server that has access to the managed array? If so, can I use its IP instead of its hostname? I've found a 'host' under CAM called XYZ (See below). In our... (7 Replies)
Discussion started by: aixlover
7 Replies