Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-09-2003, 10:43 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
not logged in but session wont die!


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!
Old 07-09-2003, 11:45 AM   #2
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Do a:
This may tell you more about what that user is doing.
lsof -u user
will tell you all the files opened by user.
Does nothing show up in
 ps auxww | grep user
Old 07-09-2003, 11:56 AM   #3
LQ Newbie
Registered: Jul 2003
Posts: 11

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Die, lotus notes, die (sorry for ranting) slackist General 10 01-10-2005 11:42 AM
CD-ROM wont unmount unless logged in as root redsmoke Debian 3 12-13-2004 08:09 AM
Die Caps lock Die! tfdml37 Linux - General 1 06-26-2004 03:00 AM
process wont die Axion Linux - Software 5 01-01-2004 02:23 PM
Killing a thread that wont die nephi Linux - General 2 03-21-2003 09:34 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration