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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-21-2004, 04:39 PM
|
#1
|
Member
Registered: Jun 2003
Distribution: RH 8.2, SuSE 9.0
Posts: 135
Rep:
|
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)
|
|
|
11-21-2004, 05:10 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
What exactly do you mean when you say sessions?
Running multiple desktops in individual consoles?
Heaps of backgrounded processes?
...
Cheers,
Tink
|
|
|
11-21-2004, 05:31 PM
|
#3
|
Member
Registered: Jun 2003
Distribution: RH 8.2, SuSE 9.0
Posts: 135
Original Poster
Rep:
|
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 ......
|
|
|
11-21-2004, 05:44 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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.
|
|
|
All times are GMT -5. The time now is 01:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|