07-05-2011
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 automatically in which username and password will accept and there is no need to give the credentials.
Please help me in writing this script.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to create a script that logs into a list of several servers 50+ and changes my password all at once.
Every 60 days we are required to login to each system and change our passwords or else they expire and our login account is deleted.
I have an idea on how I could do this but... (4 Replies)
Discussion started by: darthur
4 Replies
2. UNIX for Dummies Questions & Answers
I am having a problem logging into my SUN box.
When i telnet to the box, i dont get as far as the login/password bit - instead i have the following appear on my screen:
telnetd: could not grant slave pty
Any suggestions would be greatly appreciated...
Ta
Rich (2 Replies)
Discussion started by: colesy
2 Replies
3. HP-UX
Hi friend,
I'm facing a problem to access the console and telnet to the HP ux 11 server due to the system file is full. How to access this server via single mode and how to mount the folder / and folder /var?
thanks.
vestro (1 Reply)
Discussion started by: vestro
1 Replies
4. UNIX for Dummies Questions & Answers
Hello Everybody:
I want to make a patch that telnet me directly to a specific IP with the specidied username and password.
I tried the following :
------------------------------------------
telnet 10.11.161.10
user
pass
----------------------------------------------------
but didnt log... (2 Replies)
Discussion started by: aladdin
2 Replies
5. Shell Programming and Scripting
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
6. Solaris
Hi to All,
I have configured telnet service in my server but am not able to login with root user in Linux Servers.
For that what can i do ?
Please help me
Thanks in Advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies
7. HP-UX
why I didn't set /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd \
telnetd -b /etc/issue
only
telnet stream tcp nowait root /usr/lbin/telnetd
in /etc/ineted.conf
but when I telnet my HPUX machine
it shows those message
HP-UX hp1008 B.11.31 U ia64 (tb)
login:
... (1 Reply)
Discussion started by: alert0919
1 Replies
8. HP-UX
why I can login by telnet using root account
but when i use login by ssh using root account
it is not successful ,is it different password
i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies
9. UNIX for Dummies Questions & Answers
Hopefully my question makes sense, but I was wondering if the telnet service has anything to do with console logins or if they are completely unrelated. So for example, does the /etc/default/login file in UNIX have anything to do with Telnet? So if I want to verify that the root user can't login... (8 Replies)
Discussion started by: ixauditor
8 Replies
10. Shell Programming and Scripting
i have to connect windows server from one of the unix box so i am using telnet and below is my following code
#!/bin/sh
host=hostname
log=loginid
port=23
pass=password
cmd1=mkdir test1234
( echo open ${host} ${port}
sleep 1
echo ${log}
sleep 3
echo "\r\n"
sleep 3
echo ${pass}... (11 Replies)
Discussion started by: chandan.p
11 Replies