netid man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

NETID(4)							      NETID(4)

NAME
       netid - netname database

SYNOPSIS
       /etc/netid

DESCRIPTION
       The  netid  file	 is  a local source of information on mappings between
       netnames (see secure_rpc(3NSL)) and user ids or hostnames in the	 local
       domain.	The netid file can be used in conjunction with, or instead of,
       the  network source: NIS or  NIS+. The  publickey entry	in  the	  nss‐
       witch.conf  (see	  nsswitch.conf(4))  file  determines  which  of these
       sources will be queried by the system to translate  netnames  to	 local
       user ids or hostnames.

       Each entry in the netid file is a single line of the form:

	 netname uid:gid, gid, gid...

       or

	 netname       0:hostname

       The  first  entry associates a local user id with a netname. The second
       entry associates a hostname with a netname.

       The  netid file field descriptions are as follows:

       netname
		   The operating system independent network name for the  user
		   or  host.  netname has one of two formats.  The format used
		   to specify a host is of the form:

		   unix.hostname@domain

		   where  hostname is the name of the host and	domain is  the
		   network domain name.

		   The format used to specify a user id is of the form:

		   unix.uid@domain

		   where uid is the numerical id of the user and domain is the
		   network domain name.

       uid
		   The numerical id of the user (see   passwd(4)). When speci‐
		   fying a host name, uid is always zero.

       group
		   The	numerical  id  of  the	group the user belongs to (see
		   group(4)).  Several groups, separated  by  commas,  may  be
		   listed for a single uid.

       hostname
		   The local hostname (see  hosts(4)).

       Blank lines are ignored.	 Any part of a line to the right of a `#' sym‐
       bol is treated as a comment.

EXAMPLES
       Example 1 A sample netid file.

       Here is a sample netid file:

	 unix.789@West.Sun.COM	  789:30,65
	 unix.123@Bldg_xy.Sun.COM 123:20,1521
	 unix.candlestick@campus1.bayarea.EDU	 0:candlestick

FILES
       /etc/group
			 groups file

       /etc/hosts
			 hosts database

       /etc/netid
			 netname database

       /etc/passwd
			 password file

       /etc/publickey
			 public key database

SEE ALSO
       netname2user(3NSL),   secure_rpc(3NSL),	 group(4),   hosts(4),	  nss‐
       witch.conf(4), passwd(4), publickey(4)

				 May 23, 1994			      NETID(4)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net