Disconnecting a telnet session


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Disconnecting a telnet session
# 8  
Old 12-09-2007
I afraid if situation will be as you described I mean :
- you HOST A -> trying to log in on some HOST & POST
- someone else earlier had connected to the same HOST & PORT

and you have not access to this HOST or even telnet sessions are not pass through terminal server there is not exist any way to kill someone's session
# 9  
Old 12-09-2007
Quote:
Originally Posted by SebaM6
I afraid if situation will be as you described I mean :
- you HOST A -> trying to log in on some HOST & POST
- someone else earlier had connected to the same HOST & PORT

and you have not access to this HOST or even telnet sessions are not pass through terminal server there is not exist any way to kill someone's session
Set up an alternate login method on the server (eg ssh), or adjust the program listening for telnets to fork off each time it recieves a connection.
# 10  
Old 12-09-2007
Quote:
Originally Posted by Smiling Dragon
adjust the program listening for telnets to fork off
Are you trying to be polite?
# 11  
Old 12-09-2007
Quote:
Originally Posted by porter
Are you trying to be polite?
Smilie heh heh heh
# 12  
Old 12-09-2007
I assume in this case we are deailing with a terminal concentrator of some kind. Usually they have an admin option available to disconnect/reset a connection on a given port. We have ~100 terminal concentrators here and they all ( several different brands ) have this option.
# 13  
Old 12-09-2007
Just to clear up any confusion, the "hosts" the users log into are port servers.
The reason I say I am asking this is because most users connect to a host-port but they forget about disconnecting even though they are done using the host-port. There's a GUI application to disconnect a user, but accessing that is very slow. The GUI app is written in TCL, so I'm trying to decipher it. But it seems that I won't be able to write such a script because the it appears only application has permission to disconnect users.
Our old port servers had user names and passwords that were common and everybody knew about them, and anyone could go and disconnect a user. But now the port servers are located somewhere else and no one knows the login info.
Thanks for all the feedback.

Last edited by cooldude; 12-09-2007 at 09:19 PM..
# 14  
Old 12-09-2007
Quote:
Originally Posted by cooldude
The GUI app is written in TCL, so I'm trying to decipher it.
At least you will then know the mechanism that it uses. Is it a "set-uid" program? (eg do "ls -ld path-to-program").
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

M5000 XSCF Console disconnecting when putty session is closed

Hi, I would appreciate some help. I remotely access, across a VPN, an M5000 and when I connect to the XSCF I can then access the OS using console -d0 and then I can get to the console. The problem I have is that I need to run something which will take many hours and I can't run it in the... (6 Replies)
Discussion started by: giles.cardew
6 Replies

2. HP-UX

ssh session getting hung (smilar to hpux telnet session is getting hung after about 15 minutes)

Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies

3. Shell Programming and Scripting

bash telnet session logging

I'm looking at allowing remote telnet into my server. like any security-minded administrator, I want to log what my users type on the telnet session. I'm using the script command to generate transcripts of the users session. I have /etc/profile set to automatically start the script command... (2 Replies)
Discussion started by: ramnet
2 Replies

4. UNIX for Dummies Questions & Answers

Telnet Session to AIX

Hello, I have AIX 5.3 at home connected to netgear router. Port Forwarding has been enabled on the router. Problem is that if I want to telnet, I have to try 2 or 3 times before I can get a logon prompt. It times out for first or second time (Connection to session <IP_Address> failed: Connection... (1 Reply)
Discussion started by: bluebee
1 Replies

5. UNIX for Dummies Questions & Answers

Unix Telnet session

Hi Is there any way whilst in a telnet session you can view your client machine name that you are using to connect to the Unix box ? :eek: (2 Replies)
Discussion started by: mlucas
2 Replies

6. Shell Programming and Scripting

Telnet Session

{ sleep 2 echo "$user" sleep 2 echo "$password" sleep 2 echo " ls" sleep 10 echo "exit" }| telnet $server I have a machine x and i have executed the above script on machine 'x'. i entered the... (6 Replies)
Discussion started by: pathanjalireddy
6 Replies

7. Shell Programming and Scripting

Telnet session does not expire

Dear friends.. Our project has a module that runs on handheld devices. Through the handheld we telnet to solaris where the application actually runs. I noticed that after starting a session through the handheld, if i go out of range or if i remove and replace the battery in the handheld, the... (1 Reply)
Discussion started by: deepsteptom
1 Replies

8. UNIX for Dummies Questions & Answers

telnet session timeout

hi, we can set something such that if the user has been idle for a while, it will auto disconnect. where to do so? thanks (6 Replies)
Discussion started by: yls177
6 Replies

9. Programming

Find the IP address that a telnet session uses

Hello Experts, Happy New Year to all of us, In AIX 4.3.3 I am trying to figure out how is possible to find out the IP address that a telnet session - user uses to login in to host machine. My objective is by finding the login IP address to allow the user to login or not. All users uses the... (6 Replies)
Discussion started by: sszago
6 Replies
Login or Register to Ask a Question