Linux.com

Home Linux Community Forums Software Installation Removal of additional users accounts

Removal of additional users accounts

Link to this post 28 Apr 10

Recently I upgraded to the new Kubuntu 10.04 version, which I find very nice and functionally stable. My problem is this:

During a disastrous experience with a virus, that severely crippled my email accounts in Linux, that made me having to perform an upgrade to the newer version I have presently installed, I created new user account windows, trying to find a session that was free of this infection, which turn out being no source of a resolution or fix to the system files that were corrupted.

I need to know how now to delete these extra windows. I have Enlightenment D17 which I want to keep. I also have these additions which I need to delete to regain valuable disk space:

Splunck Server
Administrator 822
KDE

There is one more, which has an odd name. Anyway, without going into detail of why I created them, I just need to get rid of them and keep only my Gnome, Ubuntu [ kubuntu and john822 ] set-up, as these are my logical mounted windows.


I have come a long way with Linux in a very short time, as I was a novice at the beginning, but now know what set ups are beneficial for me to have a stable operating system.

As I said, I just need to know how to delete these accounts without being asked why the Hell I made them in the first place. Thank You, John....:ohmy:
B)

Link to this post 28 Apr 10

The command userdel can be used to remove unneeded user that you created, but make sure to only remove the accounts you created, removing system accounts can render functions inoperable.

You can also use the find command to locate files owned by the targeted users and remove them. an example of the syntax for the find command is "find /home/ -user user1 -t f -exec rmdir" and "find /home/ -user user1 -t d -exec rm, these commands will find all files(example1) and directories(example2) in /home/ that are owned by user1 and removes them.

Link to this post 28 Apr 10

Thank you for a quick reply. I am not a wizard with this command thing, so bear with me. Is this the right way to enter the script: example; find /home/ -john822 adminstrator822 -t f -exec rmdir

I am administrator / account holder " john822 " and the user account is " administrator822 "

Or should I use my " Users and Group " program to disable the un needed accounts?

Link to this post 29 Apr 10

find /home/-user administrator822 -t f -exec rmdir

Link to this post 29 Apr 10

Thank you for your assistance in guiding me through the necessary steps to delete those extra accounts. I was able to effectively disable, as well as delete those additional accounts via my Users and Group account program without deleting any files associated with my main account.

There is one question I need an answer to: I only use Kmail in Linux now, and I noticed that if I need to send mail from an internet site [ example: Craigslist., It will not open Kmail to send out that email address(s), but if I open a web browser in my other OS installed { Windows } I am able to send the mail out from an external internet site. The feature is checked and enabled in KMail settings. Just curious to why this may be?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board