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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)