Macworld Forums: How to get rid of "deleted users"? - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to get rid of "deleted users"?

#1 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 14 June 2002 - 08:07 AM

I created some accounts for experimentation and have since deleted them. They are no more, but they still show up as "User X deleted" (something like that) on my computer and when I tried to delete all the Music, Document and other files associated with this already-deleted account, the OS told me that only the root can touch them. Could someone tell me how to get rid of these deleted accounts? (how to log in as root? is it advisable to log in as root? and start deleting stuff?)
0

#2 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 14 June 2002 - 08:42 AM

You can only delete them from the terminal, unless you have some utility program. Apple shows you how to do this on their support site. Do a search for it. If I remember right though you just use the rm command.
0

#3 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 14 June 2002 - 08:50 AM

Naw . . . Just boot into OS 9 and trash the darned thing.

The total Mac OS X edition had a thing on this, and it gave two options:

  • Use terminal (I believe you use the sudo command, which temporarily gives you 'root'-like power. It most certainly is not adviseable to log in as root since many things can get messed up.)
  • Or just do it the OS 9 way

images/icons/smile.gif

0

#4 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 14 June 2002 - 09:08 AM

I believe that if you have OS9 installed, you can remove them from there. While booted in OS 9, when you open the window for the disk that contains OSX, you'll find a folder named "Users". Don't mistake this with the ".usr" folder. In the "Users" folder you should find folders with the names or all the OSX users. Drag the deleted ones to the trash. Be VERY carefull while you are doing this, because you are effectively acting as root and can throw away important OSX files that can bring X to a dead halt.

If you don't have OS9 installed, your other options are to log in as root or to use sudo rm -r in Terminal. If you aren't VERY sure of what you are doing, then both of these method also allow you to accidentally trash your OSX system with a simple mispelling. You can also use sudo chown in the terminal to change the ownership of the deleted users from root to yourself and delete them then (safest method), but I'm not confident of the proper commands to give you.

I think I've seen some shareware apps on versiontracker.com/osx that allow you to use sudo from the GUI. You might try searching there.

[ 06-14-2002: Message edited by: retcynm ]

0

#5 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 14 June 2002 - 01:57 PM

If you type "sudo rm -R " then drag and drop the thing you want deleted into the Terminal window and press enter, it will delete what you dragged into the window.
0

#6 User is offline   pyrogen Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 23-March 02

Posted 14 June 2002 - 03:48 PM

If your directory is empty, including invisible files, you can use

% rmdir directory_name

to remove the directory.
You can check for invisible file with in the directory by using -a flag for ls

% ls -a

You may have to use sudo with rmdir if you do not have the correct permissions.

0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users