NETID(5) BSD File Formats Manual NETID(5)NAME
netid -- NIS network credential file
DESCRIPTION
Files in netid format are rare. One lives in the NIS map netid.byname. The format is rather simple. Each row consists of two items, a key
and a value. When created by mknetid(8) there are three kind of records.
The first type is information about which gids a uid has:
unix.<uid>@<yp-domain> <uid>:<gid>,<gid>
The second type has informations about hosts:
unix.<hostname>@<yp-domain> 0:<hostname>
The third type is records from a netid file other than the two types above.
FILES
/etc/netid A file for lines not generated automatically by mknetid(8).
EXAMPLES
A configuration file might appear as follows:
unix.10714@kaka 10714:400,10
unix.jodie@kaka 0:jodie
SEE ALSO mknetid(8), 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
Hello,
Trying to concatenate the following using bourne shell:
# !/bin/bash
# this works in bash shell e.g. get the results I am expecting
fnTmp=C$cindex.$station_0.$station_1.$station_3.$ts.tmp
#
# under !/bin/sh
# the results are not the same
Any assistance would be... (8 Replies)
hi all,
i am using solaris 5.10 on sun blade 150 and i am trying to configure diskset in sun volume manager. When i fire the following command, it says some rpc related error.
bash-3.00# metaset -s kingston -a -h u15_9
metaset: u15_9: metad client create: RPC: Program not registered
how to... (4 Replies)
I have a question for one who wants to help me.
I want to create a bash script to ping IP-adresses. It must first ask me the beginnen IP, then the ending IP like: 192.168.100.1 - 192.168.100.255.
When nothing is filled in, then it must find my subnet and ping that, like when my ip is... (14 Replies)
Hi,
I am facing an issue with Solaris x86 machine
Machine Details:
uname -a
SunOS sol10-64 5.10 Generic_137138-09 i86pc i386 i86pc
..............................
Description:
I am trying to register a programm with proramm ID 300760 with version number 1, and tryint to create a... (0 Replies)
Hello I am having an issue with a server SUN FIRE T2000 (Solaris 10).
First of all the server didn't boot normaly so I did a full restoration of the file systems.
Now the server boot, most of the services are available (not all the services), but I keep on seeing
RPC: Rpcbind failure -... (4 Replies)
Hello - I have a Solaris machine, which I would like to configure as NIS master. When I run the command /usr/sbin/ypinit -m, I see below output. I am enclosing them in tags.
/usr/sbin/ypinit -m
In order for NIS to operate sucessfully, we have to construct a list of the
NIS servers. Please... (1 Reply)
Hi I am trying to do the following in a script find a string and add in a block of text two lines above on the command line this works fine
#/usr/bin/cat /usr/local/etc/dhcpd.conf_subnet | /usr/xpg4/bin/sed -n -e '1h;1\!H;${;g;s/}.*#END of 10.42.33.0/#START of RANGE $dstart\:option... (3 Replies)
I'm considering the merits of slightly redefining the "domain" field in a NIS netgroup (the third field in the triple) to make it more useful, in a new Internet Draft that I am currently developing. Does anyone out there who uses NIS actually make use of the "domain" field? The places I've worked... (8 Replies)
I'd like to share some experiences and what I found for NIS migration from Solaris 8 NIS to Linux platform.
I'm not an expert for both platforms, it's just when I tested both systems and found something really tricky. That might takes a lot of time for you to find the root cause. So, I think I can... (11 Replies)