10 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hi everyone,
I am new to this forum and this is my very first post, one i think i will look back at many years from now and have nothing to regret about.
This is simply because i recently installed Linux (Ubuntu) on my system and downloaded a book titled, The Unix Programming Environment. I... (7 Replies)
Discussion started by: despiragado
7 Replies
2. Programming
I have started reading the book Unix Network Programming, Volume 1: The Sockets Networking API. I downloaded all the source code and performed all the steps present in README file.Now when i compile my first program it give the following error.
sainandan@nandan:~/unpv13e/intro$ ./daytimetcpcli... (1 Reply)
Discussion started by: bsainandan
1 Replies
3. IP Networking
Hi,
I have to start doing network programming in C/Unix but I have windows installed.
Could someone please guide me how to set up the environment best suited for the networking programming?
Regards
Vinayak (1 Reply)
Discussion started by: vinayakj20
1 Replies
4. Shell Programming and Scripting
Hi All
I want to learn System programming with the help of Unix.
System Programming mean to say
1) Playing with the memory of computer
2) Designing some graphical units
Hope you understand... (2 Replies)
Discussion started by: parthmittal2007
2 Replies
5. Programming
I have written a client-server program which does some data from a file in server to the client. In this I don't want the client to wait indefinitely if server is not running. For this I am using SELECT system call, in this system call we can specify timings as an argument, which tells the client... (2 Replies)
Discussion started by: naresh046
2 Replies
6. Programming
Hi!
I am working on fedora..
trying to execute BSD4.4 client-server program which includes "unp.h" header file...
While executing make command, I got error like,
" expected " , " , " ; ",or ")" in connect_nonb file...ERROR 1 "
I tried to change mode of makefile but I can't get... (4 Replies)
Discussion started by: nisha_vaghela
4 Replies
7. UNIX for Dummies Questions & Answers
Greetings everyone,
I've been using OpenWRT for some time primarly for research in the University. I've also started with some basic network programming (sending UDP packets for instance). But since most of the available tutorials on unix network programming are more related to ethernet... (4 Replies)
Discussion started by: aztroboy
4 Replies
8. UNIX for Dummies Questions & Answers
I want to develop a hybrid IM application which will consist of a chat and an offline messaging (BBS) part.
Server must support
Multiple connection (concurrent)
Arguments should not be hard coded (code will be checked at different machines)
No input at the command line
Must run in the... (3 Replies)
Discussion started by: never mind
3 Replies
9. Programming
Good day everyone,
Please help if you are interested in.
I need to do a chat client-server program.
Does anyone know where I can get references or sample programs?
Thank you very much for your time
Eric (2 Replies)
Discussion started by: powermind
2 Replies
10. UNIX for Dummies Questions & Answers
I am going to purchase Unix Network Programming by Stevens. The only question I have is which edition to buy. The older (early 90's) edition, or the newer (late 90's) edition. I know conventional thinking would point to the latest ( and greatest?), but I wanted to get some feedback from the forum.... (3 Replies)
Discussion started by: dangral
3 Replies
netid(4) File Formats 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 specifying 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 `#' symbol 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), nsswitch.conf(4), passwd(4), publickey(4)
SunOS 5.11 23 May 1994 netid(4)