Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 01-21-2002, 04:17 PM   #1
travisb
Prospect
 
Join Date: Jan 2002
Posts: 1
How to delete a user

I created a user via System Preferences > Users > New User
When I deleted the user later the Preferences Users said that the user was deleted but there is still a folder in the Calvin (computer name)/Users with the name of the user (wally) then the word Deleted after it.

Inside this folder there appear to be all the standard folder but with a plain vanilla icon and a little red circle with a clear or white line through the middle.

I tried to drag the wally Deleted folder to the trash but got the message "The operation could not be completed because this item is owned by root."

When I try to open a folder in the wally directory - wally/Pictures I get the message The folder "Pictures" could not be opened because you do not have sufficient access privileges."

I am logged in as the admin and thought that I would be able to delete this folder with no problem but can not. Any clues? Thanks

Travis
travisb is offline   Reply With Quote
Old 01-21-2002, 04:33 PM   #2
xchanyazy
All Star
 
Join Date: Jan 2002
Location: Dexter, MI, USA
Posts: 704
You can download BatCHmod from versiontracker, then drop the folder "wally" onto it, and change the owner from whatever it is to you. Make sure you check the boxes in the enclosed files and folders box. Then, you should just be able to throw it away from the finder. If that doesn't work, you can use the terminal (this command can be dangerous!!)

cd /Users
sudo rm -rf wally/

Enter your admin password, and you're done.
__________________
- Greg

Happy user of OS X since the Public Beta.
Help Team Mac OS X cure cancer, Alzheimer's, ALS, Parkinson's, and more!
xchanyazy is offline   Reply With Quote
Old 01-21-2002, 05:44 PM   #3
Benad
Prospect
 
Join Date: Jan 2002
Location: Montreal, Canada
Posts: 38
Exclamation Small hint...

DO NOT delete with Apple's GUI any user that WAS NOT created by Apple's GUI. This can happen with some server software (SQL, Apache...).

Otherwise, you have a pretty nasty "chown -Rf root /"...

- Benad
Benad is offline   Reply With Quote
Old 01-21-2002, 10:57 PM   #4
KHall127
Prospect
 
Join Date: Jan 2002
Location: Detroit, MI
Posts: 5
Travisb,
I had the same problem when I created a user and later tried to delete it. Here is a link to take care of this. It worked great for me.

http://docs.info.apple.com/article.html?artnum=106256

-Kevin
KHall127 is offline   Reply With Quote
Old 01-22-2002, 12:02 AM   #5
lerkfish
Site Admin
 
Join Date: Dec 2001
Location: Midwest USA
Posts: 596
are there any dangers in restarting under sys9 and deleting the user folder?
lerkfish is offline   Reply With Quote
Old 01-22-2002, 05:18 AM   #6
msteiger
Prospect
 
Join Date: Jan 2002
Location: Germany
Posts: 8
AFAIK this should be no problem. By default Mac OS X stores user account records in the Local NetInfo domain. If you create and delete a user by using Apple´s GUI, the user has no account records any more. The folder "user deleted" are merely his dead remains. (BTW: my first "user deleted"-Folder has gone to the trash exactly that way and I have not experienced any troubles since then ;-))
msteiger is offline   Reply With Quote
Old 01-22-2002, 11:58 AM   #7
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Deleting users...

I suggest you get plenty of information before messing up with deleting a user and user folder.

What I usually do is to use nicl - NetInfo command line utility to delete users in Netinfo manager.

First learn about it, type in terminal:

man nicl

Cheers...
sao is offline   Reply With Quote
Reply


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

Forum Jump



All times are GMT -5. The time now is 06:18 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.