image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old September 15th, 2004, 01:34 PM
alexandr's Avatar
kosmonaut
 
Join Date: Mar 2003
Location: altea - spain
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
alexandr is on a distinguished road
can't delete user account..

i'm having troubles deleting a test-account a set up a while ago. i can't seem to get rid of it, although i've tried to delete it several times on system prefs. i get the message saying alt the content in this user 'home'-filder will be lost, and moved to deleted users-folder.. i press ok, wait a couple of minutes and it seems like it is removing the user. but when the message disappears the user it still there. i've tried restart, and the user is still active..

whats wrong, or what am i doing wrong? the user's got admin rights by the way..

alex.
__________________
* PowerBook G4 1.5 / 1GB ram / os x 10.4.1
* 23" Apple Cinema HD
* iSight
* iPod Video, 60GB, black
* iPod 4th gen 40GB(for sale - completely new, unuesed, no scratches - just got a new one back from apple- PM me if interested)
* iPod mini, green

wantlist;
* PowerMac G5 Quad


www.alex.kosmonautes.com
Reply With Quote
  #2  
Old September 16th, 2004, 12:41 AM
MDLarson's Avatar
Registered User
 
Join Date: Feb 2002
Location: Minneapolis, MN
Posts: 1,183
Thanks: 2
Thanked 3 Times in 3 Posts
MDLarson is on a distinguished road
Umm, I had this problem before. Some UNIX guru gave me a tip. I think you have to temporarily establish yourself as root (using -sudo or something like that in the Terminal) and delete it via the command line (the Terminal)... I think.
Reply With Quote
  #3  
Old September 16th, 2004, 01:04 AM
Satcomer's Avatar
In Geostationary Orbit
 
Join Date: Jul 2002
Location: Northern Virginia
Posts: 7,117
Thanks: 34
Thanked 190 Times in 185 Posts
Satcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the rough
Better yet, log out of your Admin's account. Then at the login window click choose "Other" then log in as Root (if you enabled root). This will account will let you delete the user. Just don't do anything harsh or stay in Root long. Root is the ultimate Superuser and changes can't be undone! So once the account is deleted, get out of root!!!
__________________
Mac Pro Dual 2.8 Quad (1st gen), 14G Ram, Two DVD-RW Drives, OS X 10.6.2
Mac Book Pro Core 2 Duo 2.16Ghz, SuperDrive, ATI X1600, 2GB RAM, OS X 10.6.2
2TB Time Capsule
32G iPhone 3GS Black
Reply With Quote
  #4  
Old September 16th, 2004, 07:03 AM
fryke's Avatar
Super Moderator
 
Join Date: Sep 2000
Location: macosx.com
Posts: 14,084
Thanks: 13
Thanked 90 Times in 85 Posts
fryke is a jewel in the roughfryke is a jewel in the roughfryke is a jewel in the roughfryke is a jewel in the rough
Don't bash me for even bringin' it up, but it's probably a permissions problem. But I don't mean to go to Disk Utility and 'fix permissions'. Rather, you should go to the Terminal and become the owner of said test-account's home folder. That way, Sys Prefs should be able to remove the stuff. It's not _normal_, mind you, Sys Prefs should be able to do it without such hassle, but apparently something's wrong with the permissions of the test account.

So: (Don't type the " in the commands...)

1.) Go to the Terminal and type "sudo -s" and hit enter. It asks you for your password and eventually lets you be 'root' on the shell.

2.) Type "chown -Rf YOURUSERSHORTNAME:YOURUSERSHORTNAME /Users/TESTUSERSHORTNAME/" replacing the names with your user's short name and the test user's short name.

3.) Go to Sys Prefs and try again.
__________________
iMac 24" 2.4 GHz, 4 GB RAM, 320 GB HD. Mac OS X 10.6.2
MacBook Air 13" 1.6 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.6.2
Mac mini 1.83 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.6.2
MacBook nano (Lenovo S10e white) 1.6 GHz, 2 GB RAM, 250 GB HD. Mac OS X 10.6.2
iPhone 3GS 32 GB white.

Mac user since 1987, Apple Sales Professional 2009, Apple Product Professional 2007-2009, Apple Certified Support Professional 10.5 & 10.6, Apple Certified Pro Aperture 2 (Level 1)
Reply With Quote
  #5  
Old September 16th, 2004, 07:06 AM
fryke's Avatar
Super Moderator
 
Join Date: Sep 2000
Location: macosx.com
Posts: 14,084
Thanks: 13
Thanked 90 Times in 85 Posts
fryke is a jewel in the roughfryke is a jewel in the roughfryke is a jewel in the roughfryke is a jewel in the rough
Oh and: I would NOT just delete the files as root, because the system will still think the user's there, which could possibly lead to other problems. Or you'd have to get into NetInfo in order to then remove the user from the system. I would urge you to try the stuff I've said in above message instead. Easier, cleaner for Mac OS X.
__________________
iMac 24" 2.4 GHz, 4 GB RAM, 320 GB HD. Mac OS X 10.6.2
MacBook Air 13" 1.6 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.6.2
Mac mini 1.83 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.6.2
MacBook nano (Lenovo S10e white) 1.6 GHz, 2 GB RAM, 250 GB HD. Mac OS X 10.6.2
iPhone 3GS 32 GB white.

Mac user since 1987, Apple Sales Professional 2009, Apple Product Professional 2007-2009, Apple Certified Support Professional 10.5 & 10.6, Apple Certified Pro Aperture 2 (Level 1)
Reply With Quote
  #6  
Old September 16th, 2004, 10:02 AM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 29 Times in 22 Posts
bobw has a spectacular aura aboutbobw has a spectacular aura about
Not a bad idea to keep a test account.
__________________

Reply With Quote
  #7  
Old March 25th, 2005, 08:51 PM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
filthuponyouOSX is on a distinguished road
i think i got it

well I looked at this thread and some other forums, and found how easily you can delete users from your Mac.

1. Open terminal
2. type in "sudo -s"
3. type in your password
4. type in "nicl / -delete /users/USERSHORTNAME"
5. done go see if it works in sys prefs.
Reply With Quote
  #8  
Old March 5th, 2009, 12:56 AM
Registered User
 
Join Date: Mar 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Mackey is on a distinguished road
Hey, when I type in sudo -s it sais that I am not a sudouser? WTF?
Can someone help me?
Reply With Quote
Reply

Bookmarks

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 09:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.