LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   not logged in but session wont die! (https://www.linuxquestions.org/questions/linux-general-1/not-logged-in-but-session-wont-die-71269/)

tig_grrrrr 07-09-2003 09:43 AM

not logged in but session wont die!
 
Hi

I have a problem with a user session i cannot kill.

I have no process id for this session but it appears in the "who" output somthing like:

root pts/0 Jul 9 17:14 (host)
user pts/2 Jul 9 16:47 (host)

I logged in as user and killed all processes.... and the host (the one i am suppoesedly logged in from has been rebooted and this session still shows.

Is it possible that when i logged out some info about the session was not cleared up?

i really want to remove user with userdel and of course while this session is still registered i cannot...


Sorry if this seems like a stupid question, but ive been searching the web and cant seem to work out what to do.

Cheers for any help!

moses 07-09-2003 10:45 AM

Do a:
Code:

w
This may tell you more about what that user is doing.
Also,
Code:

lsof -u user
will tell you all the files opened by user.
Does nothing show up in
Code:

ps auxww | grep user

tig_grrrrr 07-09-2003 10:56 AM

Hi, thanks for your reply.

i tried "w" nothing there

no processes, no file accesses.

i know the "user" isnt doing anything as the "user" is me (well a temp user that i created accesed etc. during the time i logged in as "user" i didnt do much at all i just wanted to check the account existed etc. after i had created it)

there are no signs that this session exists (that i can find) except when i use who or fail to be able to delete the user.


All times are GMT -5. The time now is 10:59 AM.