Sponsored Content
Full Discussion: Telnet/Rsh
Top Forums UNIX for Dummies Questions & Answers Telnet/Rsh Post 4782 by DPAI on Tuesday 31st of July 2001 10:14:26 AM
Old 07-31-2001
I think so its available . I mean its not commented in the inetd.conf file.
This is wat i get
% telnet rms
Trying 141.221.66.45...
Connected to rms.
Escape character is '^]'.


SunOS 5.8

Connection closed by foreign host

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

help with rsh

I am trying to run a Perl script using rsh. I need to be able to capture the return code value, so the calling script can handle failures properly. I cannot modify the Perl script I need to run because we use it for all of our servers. Does anyone have a suggestion? (1 Reply)
Discussion started by: kscase
1 Replies

2. UNIX for Dummies Questions & Answers

help on rsh

hi friends, i've access to three machines mc1,mc2,mc3,on which i can log in as root. and in order to run a simple command on a remote machine(say remote) on which i cant log in,i use a command as; # rsh remote ls the above runs properly but if i do an ls on following it doesnt work # rsh mc2... (1 Reply)
Discussion started by: mxms755
1 Replies

3. Solaris

Can ftp but not telnet/ssh/rsh

Hi , I have a Solaris 9 machine in which I can ftp but telnet/rsh/ssh is not working, although it was working before. I cannot also log in through the console. I get the banner for telnet but it kicks me out. Any ideas? rte (2 Replies)
Discussion started by: run_time_error
2 Replies

4. Linux

Help in RSH

Hi All, I want to execute a command from my Windows machine to Linux machine. d:> rsh <Linux machine add> -l <user_name> pwd>dir in linux machine users home directory in .rhosts file I entered the windows machine IP address and user name. In linux etc/hosts.equiv file I entered the... (1 Reply)
Discussion started by: sarwan
1 Replies

5. UNIX for Advanced & Expert Users

Rsh

Hi All, I want to execute a command from my Windows machine to Linux machine using RSH only d:> rsh <Linux machine add> -l <user_name> pwd>dir in linux machine users home directory in .rhosts file I entered the windows machine IP address and user name. In linux etc/hosts.equiv file I... (1 Reply)
Discussion started by: sarwan
1 Replies

6. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

7. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

8. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies

9. AIX

Telnet or rsh takes too much time

telnet or rsh or ftp to an AIX machine takes too much time, like have to wait 3 minutes before the prompt appears. What can I look to troubleshoot this problem thanks (4 Replies)
Discussion started by: filosophizer
4 Replies

10. AIX

RCP slow down and blocks login, telnet, rsh, etc on target server

Hello I have a LPAR AIX 6.1 on Power VM, Vio 2.2.3 and when I execute a rcp to this machine, I cant, simultaneosly, rlogin, telnet, rsh to this same LPARt. This commands stay hanged till the copy end, and Imeddiatlely the comand is executed (rlogin, telnet, rhs, etc). Someone can give me... (1 Reply)
Discussion started by: artur_dietrich
1 Replies
DebianNet(3pm)						     Linux Programmer's Manual						    DebianNet(3pm)

NAME
DebianNet.pm - create, remove, enable or disable entry in /etc/inetd.conf SYNOPSIS
require DebianNet; DebianNet::add_service($newentry, $group); DebianNet::remove_service($entry); DebianNet::enable_service($service, $pattern); DebianNet::disable_service($service, $pattern); DESCRIPTION
You can use the functions in DebianNet.pm to to add, remove, enable or disable entries in the /etc/inetd.conf file. After the /etc/inetd.conf file has been changed, a SIGHUP signal will be sent to the inetd process to make sure that inetd will use the new /etc/inetd.conf file. The functions can also be used to add entries that are commented out by default. They will be treated like normal entries. That also means that if you already have an entry that is commented out you can't add an entry for the same service without remov- ing the old one first. The DebianNet functions treat entries that are commented out by a single '#' character as entries that have been commented out by a user. It won't change such entries. For shell scripts you can also use the update-inetd command. See update-inetd(8) for further information. VARIABLES
$DebianNet::inetdcf = "FILENAME"; Use FILENAME instead of /etc/inetd.conf (e.g. for testing purposes). $DebianNet::sep = "#<off># "; "#<off># " will be used as the default comment characters. You can use this option to specify different comment characters. This is only necessary if you have to deal with two (or more) services of the same name. $DebianNet::multi = "true"; If you want to disable/remove more than one entry at a time you should use this option. If you try to remove more than one entry at a time without using this option the program will show a warning and asks the user if he want to continue. $DebianNet::verbose = "true"; Explain what is being done. FUNCTIONS
DebianNet::add_service($newentry, $group); Add $newentry to the group $group of the /etc/inetd.conf file. If the entry already exist it will be enabled (it will also detect entries with different program options). Using $group is optional (the default group is the group OTHER). If the group does not exist the entry will be placed at the end of the file. DebianNet::remove_service($entry); Remove $entry from /etc/inetd.conf . You can use a regular expression to remove the entry. DebianNet::enable_service($service, $pattern); Enable $service (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional. It can be used to select a service. You only need this option if you have two (or more) services of the same name. An example: you have three ftp entries in the /etc/inetd.conf file (all disabled by default) and you want to enable the entry which uses the wu-ftpd daemon. To do this, use the pattern "wu-ftpd" (or any other regular expression that matches this entry). DebianNet::disable_service($service, $pattern); Disable SERVICE (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional (see above). AUTHORS
Peter Tobias, <tobias@et-inf.fho-emden.de> Ian Jackson <iwj10@cus.cam.ac.uk> Linux 21 September 1995 DebianNet(3pm)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy