LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2004, 04:39 PM   #1
Recirqie
Member
 
Registered: Jun 2003
Distribution: RH 8.2, SuSE 9.0
Posts: 135

Rep: Reputation: 15
Too many sessions, how to end?


Through my own stupidity I have too many sessions going. How do I end the superfluos ones? (SuSE 9.0)
 
Old 11-21-2004, 05:10 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
What exactly do you mean when you say sessions?

Running multiple desktops in individual consoles?
Heaps of backgrounded processes?
...


Cheers,
Tink
 
Old 11-21-2004, 05:31 PM   #3
Recirqie
Member
 
Registered: Jun 2003
Distribution: RH 8.2, SuSE 9.0
Posts: 135

Original Poster
Rep: Reputation: 15
A zombie user, i.e. seemingly logged in. I could not even delete using YaST, so I used console userdel -r. The user was there as a result of a system crash. I think the machine (still) has a dud memory somewhere. Now I wonder how much junk it has left in other directories ......
 
Old 11-21-2004, 05:44 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
find / -user <user> -exec rm -rf {} \;

For good measure read find's manpage,
I might be malicious (no, I'm not). If userdel -r
was successful (in other words, the user doesn't
have a name any more, use -uid <UID> instead.

That'll clean the box proper. :}


Cheers
Tink

Last edited by Tinkster; 11-21-2004 at 05:45 PM.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Sessions? ttague Linux - Newbie 4 01-02-2005 11:00 AM
Multiple X sessions tw001_tw Slackware 9 05-31-2004 01:35 PM
Two X sessions? LinuxSeeker Linux - General 3 04-07-2004 04:39 PM
KDM Sessions? milkycow Slackware 1 02-23-2004 01:44 PM
Sessions BajaNick Linux - General 0 07-30-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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