Sponsored Content
Full Discussion: Telnet/Rsh
Top Forums UNIX for Dummies Questions & Answers Telnet/Rsh Post 4823 by DPAI on Wednesday 1st of August 2001 10:02:58 AM
Old 08-01-2001
Neo ,
I am not able to understand wat u want to say in ur last sentence
The user is local with no .allow or .deny entries in it.

And also giving telnet connects to the m/c .But just b4 the login prompt it says "Connection Closed".So i do not think there is a name resolution prob here

 

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
RUNGETTY(8)						     Linux Programmer's Manual						       RUNGETTY(8)

NAME
rungetty - a minimal console getty that can run any process SYNOPSIS
rungetty [--noclear] [--long-hostname] [-u username] [-g group] [-w path] [-n priority] [--prompt [=string]] [-d n] [--autologin username] tty [--] [command] [arguments] DESCRIPTION
rungetty is a getty for use on virtual consoles which has the ability to run any program, not just login(1). Like mingetty(8), on which rungetty is based, rungetty isn't suitable for serial use. Both I and the author of mingetty(8) recommend mgetty(8) for that. It is useful, though, for keeping programs such as, say, telnet(1), running at all times. When running a program other than login, it is executed as the user and group nobody, or the user specified by username and group specified by group. OPTIONS
--noclear Do not clear the screen before prompting for the login name (the screen is normally cleared). --long-hostname By default the hostname is only printed until the first dot. With this option enabled, the full text from gethostname() is shown. -u username By default, rungetty runs programs as nobody. With this option, it runs as the user username. -g group By default, rungetty runs as the group nobody. This option allows you to tell rungetty to run programs as the group group. --prompt [=string] This option causes rungetty to wait until user input (usually an 'Enter') before executing the program. If string is specified, it will be displayed. Otherwise, a default prompt will be shown. -n n 'nice' value of specified program. -w path Working directory of specified program. -d n Specifying -d will make rungetty wait n seconds before running the specified program. --autologin username Log the specified user onto the console (normally /dev/tty1) when the system is first booted without prompting for a username or password. When the autologin option is supplied, rungetty will check that the controlling terminal is the console (normally /dev/tty1), that a reasonable username has been supplied, and that this is the first autologin request since the system has booted. If all of these conditions have been met, a request for an unauthenticated login is passed to the login program. Otherwise, a normal interactive login is performed. The login program may deny the request for an unauthenticated login. Typically this will happen when the user is root, has a UID of 0, or whenever a normal interactive login would be denied due to the access restrictions specified in the nologin, usertty, or securetty files. Only a single autologin request will be issued after a system boot. If the automated login request is denied, or if the user logs out, rungetty will revert to performing normal interactive logins for all subsequent login requests. -- Tells rungetty that there are no more options to parse, useful for passing arguments with a - in them to the external program. ARGUMENTS
tty Name of the tty to run on. command Runs specified command. Searches for command in /bin, /usr/bin, /usr/ucb, /usr/local/bin if the complete pathname and filename are not given. [arguments] Command line arguments to pass to command. ISSUE ESCAPES
rungetty recognizes the following escapes sequences which might be embedded in the /etc/issue file: d insert current day (localtime), l insert line on which rungetty is running, m inserts machine architecture (uname -m), inserts machine's network node hostname (uname -n), o inserts domain name, inserts operating system release (uname -r), insert current time (localtime), s inserts operating system name, u resp. U the current number of users which are currently logged in. U inserts "n users", where as u only inserts "n". v inserts operating system version (uname -v). EXAMPLE
In /etc/inittab, these lines: r1:12345:respawn:/sbin/rungetty tty1 r2:2345:respawn:/sbin/rungetty tty2 telnet mail.foo.com r3:2345:respawn:/sbin/rungetty tty3 -u support top r4:2345:respawn:/sbin/rungetty tty4 -n 20 -w /etc rc5des Would run a local login on /dev/tty1,a telnet(1) session to mail.foo.com on /dev/tty2,and top(5)on /dev/tty3. Note that telnet(1) is run as user nobody, while top(5) is run as user support, and start the program rc5des(5) at the lowest priority level with a current directory of /etc. FILES
/etc/issue, /var/run/utmp, /var/log/autologin. BUG REPORTS
Please send all bug reports to jake@nodomainname.net. BUGS
There are no known bugs. SEE ALSO
mingetty(8), mgetty(8). AUTHOR
Copyright (C) 1999 Jakob Kaivo <jake@nodomainname.net>. Jakob 'sparky' Kaivo 04 February 1999 RUNGETTY(8)
All times are GMT -4. The time now is 07:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy