Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unixserver(1) [debian man page]

UNIXSERVER(1)						      General Commands Manual						     UNIXSERVER(1)

NAME
unixserver - UNIX domain socket server SYNOPSIS
unixserver [options] socket program DESCRIPTION
Unixserver is UNIX domain socket server that conform to UCSPI, the UNIX Client-Server Program Interface. OPTIONS
-q Quiet. Do not print any messages. -Q (default) Print error messages. -v Verbose. Print error and status messages. -d Do not delete the socket file on exit. -D (default) Delete the socket file on exit. -u UID Change user id to UID after creating socket. -g GID Change group id to GID after creating socket. -U Same as '-u $UID -g $GID'. -o UID Make the socket owned by UID. -r GID Make the socket group owned by GID. -O Same as '-o $SOCKET_UID -r $SOCKET_GID'. -p PERM Set the permissions on the created socket (in octal). Note: this option, if set, overrides the mask below. (defaults to 0666 minus umask) -m MASK Set umask to MASK (in octal) before creating socket. (defaults to 0, previous value is restored afterwards) -c N Do not handle more than N simultaneous connections. (default 10) -b N Allow a backlog of N connections. -B BANNER Write BANNER to the client immediately after connecting. SEE ALSO
unixclient(1), unixcat(1) http://cr.yp.to/proto/ucspi.txt AUTHOR
ucspi-unix package was written by Bruce Guenter <bruceg@em.ca> This manual page was originally written by Tomas Kuliavas <tokul@bigfoot.com> for the Debian GNU/Linux system, but may be used elsewhere under the GPL. UNIXSERVER(1)

Check Out this Related Man Page

smfi_setconn(3N)														  smfi_setconn(3N)

NAME
smfi_setconn() - sets the socket for filter to communicate with sendmail SYNOPSIS
PARAMETERS
oconn Specifies the address of the desired communication socket. The address must be a NULL-terminated string in the following format: Specifies a named pipe. Specifies an IPV4 socket, using either a hostname or an ip-address. Specifies an IPV6 socket, using either a hostname or an ip-address.. DESCRIPTION
The routine sets the socket through which the filter must communicate with must be called only once before the function. Notes Filters must not be run as root when communicating over UNIX/local domain sockets. The permissions for UNIX/local sockets must be set to 0600 (read/write permission only for the owner of the socket) or 0660 (read/write permission for the owner and group of the socket). These permissions are useful when the RunAsUser option is used. The permissions for a UNIX/local domain socket are determined using the the command, which must be set to 007 or 077. Some operating systems, such as Solaris, do not use the permissions of the socket. Therefore, place the socket in a protected directory in such systems. RETURN VALUE
does not fail due to an invalid address. The failure can only be detected in the routine. AUTHOR
was developed by the Sendmail Inc. SEE ASLO
smfi_main(3N), smfi_register(3N), smfi_settimeout(3N), smfi_opensocket(3N), smfi_setbacklog(3N), smfi_setdbg(3N), smfi_stop(3N). on smfi_setconn(3N)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Server OS

Hi guys, I never thought I'd be here. I've got my MCSE and I was a die hard Windows guy. I've been working with UNIX and Linux sense the middle of summer. I'm looking for server OSs. UNIX or Linux, preferribly the easier of the two. MY goal is to get UNIX and Linux into the company I work for... (3 Replies)
Discussion started by: seedogg99
3 Replies

2. Programming

NEED Some Information!!!

Hi guys, do you know where I can find an information or example of creating a remote simulation banking application on UNIX. A client server socket programming using c language to build. using telnet to run. just a simple , add, withdraw, balance function. (1 Reply)
Discussion started by: btx
1 Replies

3. Shell Programming and Scripting

Changing userID and Changing group and GID

Hello, I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job. linux1 linux2 linux3 linux4 linux5 ...... . . . . . 1.) How can i enter "password" in script rather asking me? I was trying this... ssh... (2 Replies)
Discussion started by: deal732
2 Replies

4. AIX

UIDs being overwritten immediately

We have a problem where we delete a user and their associated UID gets dumped back in the UID pool. The if we immediately create a another (new) user, AIX reuses the last UID, the one that was just released. This is causing a problem when reports are being generated because the new users name is... (2 Replies)
Discussion started by: xsys2000
2 Replies

5. AIX

NIM Problems creating a mksysb_resource

Has anyone run into issues creating a mksysb_resource via NIM? We get the following messages 0042-001 nim: processing error encountered on "master": 0042-006 m_mkbosi: (From_Master) connect A remote host refused an attempted connect operation. This happens on the LPARs on the same... (4 Replies)
Discussion started by: pdtak
4 Replies

6. UNIX for Dummies Questions & Answers

What UNIX is best for an all-in-one-server deployment

Heya, my university department wants to deploy a UNIX based system instead of various unnetokred windows PCs. We are trying to build a terminal server solution on either FreeBSD,Solaris or Debian Linux. The system would mostly run office applications on X11 and file sharing (with Samba). In... (4 Replies)
Discussion started by: masterfreek64
4 Replies

7. HP-UX

Defunct processes are getting generated

Dear Sir / Madam, We have two socket programs which are running in background. These two socket programs are creating defunct processes in HP-UX which were not happening in Compaq True64 UNIX. What is the root cause of these defunct processes and how can we correct it? Your suggestion will be... (3 Replies)
Discussion started by: kcsahoo
3 Replies

8. Programming

creating socket()

deleted (7 Replies)
Discussion started by: satish@123
7 Replies

9. Programming

fcntl on socket

I have very simple client - server setup, where client connects, exchanges some messages with the server and then closes socket and exits. Everythink works OK, except when I am trying to change socket to be non-blocking AND the shell happens to be plain old Bourne. It runs no problem under ksh or... (3 Replies)
Discussion started by: migurus
3 Replies

10. Programming

WSAAsyncSelect equivalent for linux

Hello, I'm writing a multi-threaded socket server in C++ and I needed something like wsaasyncselect to handle messages like fd_accept, fd_read, fd_connect, fd_close. Thanks in advance. (2 Replies)
Discussion started by: lucastonon
2 Replies

11. IP Networking

Identifying Server graceful shutdown

Hi I have written a Client server Application .The client will receive messages from Server and pass it to some library for processing .I also want to notify server close the socket connection gracefully. Roughly my code is some kind of void getMsg() { while(recv(....)>0) ... (3 Replies)
Discussion started by: mr_deb
3 Replies

12. UNIX for Dummies Questions & Answers

Grep - Searching for multiple items using one command

I am performing a regular check on UNIX servers which involves logging onto UNIX servers and using the grep command to check if a GID exists in the /etc/group directory e.g. grep 12345 /etc/group I have five to check on each server, is there anyway I can incorporate them into one command and... (2 Replies)
Discussion started by: @MeDaveT
2 Replies

13. Shell Programming and Scripting

Dealing with white spaces in bash scripts

I'm trying to search for all files in directory with particular GID then change the GID to match the UID of each file: #!/bin/sh for i in $(find /dump -gid 200 | sed 's/\ /\\\ /g' | sed 's/\&/\\\&/g'); do chgrp $(ls -ln ${i} | awk '{print $3}') ${i} done I'm using sed to deal with... (7 Replies)
Discussion started by: venmx
7 Replies

14. Cybersecurity

UNIX files timestamping - Need experts opinion as testimonial

Hi I am requesting your help to obtain opinions and testimonials in order to be be able to make my own opinion since I am definetly not a unix expert. Say we have a UNIX server. On this server there is a specific directory let us call it "DIR" A security incident have been reported... (10 Replies)
Discussion started by: docflied
10 Replies

15. What is on Your Mind?

Changing Times at UNIX.COM

Over the past year, I have written so much code at UNIX.COM, I've gained 4 KGs just sitting at my desk and not exercising! However, it seems that "no good deed goes unpunished" and not only have I sacrificed my health (gaining weight, not exercising as much), but there is also my family who is... (4 Replies)
Discussion started by: Neo
4 Replies