In one of the circumstances, my manager asked my password and opened unix terminal (Putty) with my user credentials. Its been more than 2 days that terminal is opened (saw it through finger command). How do I close that terminal which is not opened in my pc. I'm very uncomfortable of the putty session opened with my user credentials in my manager's pc.
Please no advices of giving my password to my manager. I have already done it. So please let me know if there is a way to close it from pc as the putty session is opened with my user id and passwords.
@ RudiC. I want to just kill the session. I cannot go to his cube and kill it. I just want to kill it without his intervention or going to his desk. How do I recognise from my putty session about the session that he opened in his pc and kill it.
@blackrageous. He logged into his system. I cannot go to his cube and do it.
He has very little knowledge in Unix and I do not want any mess with my login credentials.
You are not going to his cube. You log in to the target system, and then look for the PID of his session, and kill that.
Or, why don't you ask him to close it from his PC?
You could in the future have your terminal time out after lets say 20min of inactivity and the server would log him off. This way you will not have to do anything.
That'll only work for any new sessions opened after it has been added to the /etc/profiles file. For current connections, you're better doing what was already suggested; kill the process for that connection.