Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netid(5) [freebsd man page]

NETID(5)						      BSD File Formats Manual							  NETID(5)

NAME
netid -- YP network credential file DESCRIPTION
Files in netid format are rare. One lives in the YP 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 types of records. The first type is information about which GIDs a UID has: unix.<uid>@<yp-domain> <uid>:<gid>,<gid> The second type contains information about hosts: unix.<hostname>@<yp-domain> 0:<hostname> The third type refers to records from a netid file other than the two types above. FILES
/etc/netid for lines not generated automatically by mknetid(8) EXAMPLES
A configuration file might look like the following: unix.10714@kaka 10714:400,10 unix.jodie@kaka 0:jodie SEE ALSO
mknetid(8), yp(8) AUTHORS
Mats O Jansson <moj@stacken.kth.se> BSD
January 13, 1996 BSD

Check Out this Related 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
Man Page

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

String/Variable Concatenation

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)
Discussion started by: LAVco
8 Replies

2. Solaris

Facing Problem with metaset in SVM

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)
Discussion started by: kingston
4 Replies

3. Shell Programming and Scripting

Bash script for ping in your own subnet

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)
Discussion started by: ugurgazi
14 Replies

4. Solaris

Solaris: clnt_create fails on solaris x86

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)
Discussion started by: DivakarAdari
0 Replies

5. Solaris

Error : "RPC: Rpcbind failure - RPC: Timed out"

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)
Discussion started by: feg
4 Replies

6. Solaris

Error while configuring NIS master

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)
Discussion started by: manju--
1 Replies

7. UNIX for Dummies Questions & Answers

NIS error

Hi, when I do ypwhich -m, I get this error message. # ypwhich -m |more Can't find master for map ethers.byaddr. Reason: Internal NIS error Can't find master for map old. Reason: Internal NIS error Can't find master for map rpc.bynumber. Reason: Internal NIS error Can't find master... (2 Replies)
Discussion started by: samnyc
2 Replies

8. Shell Programming and Scripting

sed variable substitution in a script

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)
Discussion started by: eeisken
3 Replies

9. UNIX for Advanced & Expert Users

Change to NIS netgroup definition in upcoming Internet Draft

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)
Discussion started by: cambridge
8 Replies

10. Solaris

Experience sharing and questions for NIS migration from Solaris 8 to Linux

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)
Discussion started by: bestard
11 Replies