The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Extracting specific info from finger command franny UNIX for Dummies Questions & Answers 1 12-05-2007 01:13 PM
help in finger command. shanshine Shell Programming and Scripting 1 06-06-2007 12:10 PM
finger command qfwfq UNIX for Advanced & Expert Users 10 11-21-2006 05:42 PM
How to input username on text file into finger command on shell script Micz Shell Programming and Scripting 3 11-08-2005 02:38 AM
Using the Finger command in a Script apolishuk Shell Programming and Scripting 4 12-02-2003 02:42 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-04-2009
xstation xstation is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 2
finger command

I want to know the correct version of how i should use the finger command in this example below.(os is debian lenny)

(nymserver.pl is located in /home/nymserv directory.)

the two versions are :

(in/etc/inetd.conf)
finger stream tcp nowait nymuser /usr/nym/nymserv nymserv -fingerd

----and
(in rc local script)
finger stream tcp nowait root /usr/sbin/tcpd /home/nymuser nymuser /usr/nym/nymserv -fingerd

thanks

xstation
ps i have tried
finger stream tcp nowait nymuser /usr/nym/nymserv nymserv -fingerd
and
finger stream tcp nowait nymuser /usr/nym/nymserv nymserver.pl -fingerd

but get connection refused

Last edited by xstation; 07-04-2009 at 01:55 PM..
  #2 (permalink)  
Old 07-04-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 740
To add a service to inetd.conf you add your line to inetd.conf and then a line to /etc/services to associate tour service name with a TCP/IP port number, /etc/rc.local does not come into the equation, unless you want to start a daemon to run as soon as the machine boots up like you might want to for sshd.

e.g. inetd.conf entry:
Code:
finger stream  tcp     nowait/3/10 nobody /usr/libexec/fingerd fingerd -s
/etc/services entry:
Code:
finger		79/tcp
HTH
  #3 (permalink)  
Old 07-05-2009
xstation xstation is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 2
perl script

can you please give an example how the comand line might look in my case
bearing i mind that the the finger details of list@ and remailer-key are generated out of the perl script at /home/nmyserv/nymserver.pl

thanks

tim
  #4 (permalink)  
Old 07-08-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 740
I'm sorry, I do not understand the question, I hope someone else does...
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0