Sponsored Content
Top Forums UNIX for Dummies Questions & Answers I would like to know Would you run the ‘identd’ daemon on UNIX servers? Post 97993 by RTM on Friday 3rd of February 2006 04:25:50 PM
Old 02-03-2006
Hee hee, Thanks Perderabo, for the 'missed spelling'.

FYI - for more info on identd - see this
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

applicatoin cannot started, becos daemon did not run

hi, i had an applicatoin which is not running cos one of its daemon is not running.. i get the applicatoin to run by running the daemon first... its manual job... so quite cumbersome.. i have backups in the night, with the crontab -l entry with logs written. the logs indicated successful... (7 Replies)
Discussion started by: yls177
7 Replies

2. Shell Programming and Scripting

Run shell script as a daemon

I have simple shell script that I run as cron job every hour of the day. I would like to make it a daemon that runs far more frequently like every 30 seconds or so, but I have never made daemon before. How can I do this? -Sam (7 Replies)
Discussion started by: Sammy_T
7 Replies

3. Shell Programming and Scripting

ksh to run servers

I want to write a Kshell program which will start the servers(Oracle,DataIntegrator). Can anybody help me with this? I would appreciate your help. Thanks in advance (0 Replies)
Discussion started by: pari111222
0 Replies

4. UNIX for Advanced & Expert Users

Command to run across servers

Hi, I have to run several unix commands like lsof or sed and need to execute across different servers as part of my monitoring tasks. There are around 40 Unix Servers. It is really cumbersome to run those command on several servers. can some help me in this regard. Is it possible to run... (6 Replies)
Discussion started by: john_prince
6 Replies

5. Shell Programming and Scripting

Creating a daemon to run in background

I am trying to create a service to always run and monitor a script that has a tendency to hang, we could not find what is causing it to hang so are in the process of completely reprogramming just about everything, however, that will take upto 6 months. So I need to create this to monitor the... (5 Replies)
Discussion started by: ukndoit
5 Replies

6. IP Networking

effects of bin file stored in nfs & run as daemon

Hi, Good Day, I had this question in my mind.Hope someone can give me his/her thought about it. Question: I had a binary files stored in the nfs system and mounted several workstation locally and running as deamon. Is there in effect to the networks or any problem me arise regarding network... (3 Replies)
Discussion started by: jao_madn
3 Replies

7. Shell Programming and Scripting

run this script as a daemon process

Hi, HI , I have a simple script that moves files from one folder to another folder, I have already done the open-ssh server settings and the script is working fine and is able to transfer the files from one folder to another but right now I myself execute this script by using my creditianls to... (3 Replies)
Discussion started by: nks342
3 Replies

8. Shell Programming and Scripting

script to run as a daemon

Hi, I have one query that is suppose if I have a script that pick up some files from source folder and put it into destination folder , and I want this script to run after every 1 hour, to make it configurable as per that I have options like crontab and nohup but when I test this script I have to... (2 Replies)
Discussion started by: nks342
2 Replies

9. Shell Programming and Scripting

How to make a bash or shell script run as daemon?

Say i have a simple example: root@server # cat /root/scripts/test.sh while sleep 5 do echo "how are u mate" >> /root/scripts/test.log done root@server # Instead of using rc.local to start or another script to check status, I would like make it as daemon, where i can do the following: ... (2 Replies)
Discussion started by: timmywong
2 Replies

10. Solaris

Installing identd on Solaris 11 (or how to enable it)

I'm trying to install an IRC server on a Solaris 11 box. However, identd isn't install by default and I can't see how I can install or enable it. I also can't seem to find any documentation on this. Any ideas? (1 Reply)
Discussion started by: g33rsdhgjy7
1 Replies
IDENTD(8)						    BSD System Manager's Manual 						 IDENTD(8)

NAME
identd -- TCP/IP Ident protocol server SYNOPSIS
identd [-46beIilNnr] [-a address] [-c charset] [-F format] [-f username] [-g uid] [-L username] [-m filter] [-o osname] [-P address] [-p portno] [-t seconds] [-u uid] DESCRIPTION
identd is a TCP/IP server which implements the user identification protocol as specified in RFC 1413. identd operates by looking up specific TCP/IP connections and returning information which may or may not be associated with the process own- ing the connection. The following options are available: -4 Bind to IPv4 addresses only (valid with flag -b). -6 Bind to IPv6 addresses only (valid with flag -b). -a address Bind to the specified address. This may be an IPv4 or IPv6 address or even a hostname. If a hostname is specified then identd will resolve it to an address (or addresses) and will bind this address (valid with flag -b). -b Run in the background (as daemon). -c charset Specify an optional character set designator to be included in replies. charset should be a valid charset set as described in the MIME RFC in upper case characters. -e Return ``UNKNOWN-ERROR'' instead of the usual ``NO-USER'' or ``INVALID-PORT'' error replies. -F format Specify the format to display info. The allowed format specifiers are: %u print user name %U print user number %g print (primary) group name %G print (primary) group number %l print list of all groups by name %L print list of all groups by number The lists of groups (%l, %L) are comma-separated, and start with the primary group which is not repeated. Any other characters (preceded by %, and those not preceded by it) are printed literally. -f username Specify a fall back username. If the lookup fails then this username will be returned. This can be useful for when running this service on a NAT host and not using the forward/proxy functionality. -g gid Specify the group id number or name which the server should switch to after binding itself to the TCP/IP port. -I Same as -i but without the restriction that the username in .ident must not match an existing user. -i If the .ident file exists in the home directory of the identified user, return the username found in that file instead of the real username. If the username found in .ident is that of an existing user, then the real username will be returned. -L username Specify a ``lie'' username. identd will return this name for all valid ident requests. -l Use syslogd(8) for logging purposes. -m filter Enables forwarding of ident queries. The filter argument specifies which packet filter should be used to lookup the connec- tions, currently 'pf' and 'ipfilter' are supported packet filters. Note that identd changes the ident queries to use the local port on the NAT host instead of the local port on the forwarding host. This is needed because otherwise we can't do a lookup on the proxy host. On the proxy host, ``proxy mode'' should be enabled with the -P flag or ``lying mode'' with the -L flag. -N Enable .noident files. If this file exists in the home directory of the identified user then return ``HIDDEN-USER'' instead of the normal USERID response. -n Return numeric user IDs instead of usernames. -o osname Return osname instead of the default ``UNIX''. -P address Specify a proxy server which will be used to receive proxied ident queries from. See also the -m flag how this operates. -p portno Specify an alternative port number under which the server should run. The default is port 113 (valid with flag -b). -r Return a random name of alphanumeric characters. If the -n flag is also enabled then a random number will be returned. -t seconds Specify a timeout for the service. The default timeout is 30 seconds. -u uid Specify the user id number or name to which the server should switch after binding itself to the TCP/IP port. FILES
/etc/inetd.conf EXAMPLES
identd operates from inetd(8) or as standalone daemon. Put the following lines into inetd.conf(5) to enable identd as an IPv4 and IPv6 ser- vice via inetd: ident stream tcp nowait nobody /usr/libexec/identd identd -l ident stream tcp6 nowait nobody /usr/libexec/identd identd -l To run identd as standalone daemon, use the -b flag. SEE ALSO
inetd.conf(5), inetd(8) AUTHORS
This implementation of identd is written by Peter Postma <peter@NetBSD.org>. CAVEATS
Since identd should typically not be run as a privileged user or group, .ident files for use when running with the -I or -i flags will need to be world accessible. The same applies for .noident files when running with the -N flag. When forwarding is enabled with the -m flag then identd will need access to either /etc/pf (pf) or /etc/ipnat (ipfilter). Since it's not a good idea to run identd under root, you'll need to adjust group owner/permissions to the device(s) and run identd under that group. BSD
April 4, 2005 BSD
All times are GMT -4. The time now is 07:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy