Macworld Forums: Stubborn user doesn't want to delete - Macworld Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Stubborn user doesn't want to delete

#1 User is offline   MacCheetah3 Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 6,645
  • Joined: 02-April 01

Posted 12 January 2003 - 08:02 PM

Hi
That's right. I don't know what's going on. I'm trying to delete a user from my PowerBook and it doesn't go away. I went to System Preferences-->User Accounts and clicked Delete. It processes something for a very long time, but doesn't actually delete the user or the user data, just puts it in a Deleted Users folder. Than tried to restart, and still it isn't gone. Since it didn't seem to be working I tried to delete the actual user folder, but the the actual account is still there. Than, I tried again to delete it using System Prefs and it still wasn't working. Another restart failed to fix the problem. How do I get rid of this stubborn user? I was in root.
MacCheetah3
"My peanut has a cold"
0

#2 User is offline   sjrsimac Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 372
  • Joined: 12-July 02

Posted 13 January 2003 - 12:51 PM

TERMINAL COMES TO THE RESCUE
open terminal
type the following, hitting ENTER after each line:
cd ..
sudo rm -r "Name of Directory"
now see if the stubborn user is still there.
0

#3 User is offline   MacCheetah3 Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 6,645
  • Joined: 02-April 01

Posted 13 January 2003 - 02:45 PM

Hi
Thanks for the reply! However, we already got rid of the user's "home" directory, it's just the user now that we wish to rid of. It still shows up in the System Preferences-->User Accounts area and doesn't want to die. Do you know what directory or file all users are stored in?
MacCheetah3
"I guess, I need to put some pants on"
0

#4 User is offline   smd3 Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 66
  • Joined: 01-October 02

Posted 13 January 2003 - 03:25 PM

I had this same problem just the other day. To get rid of it I recreated the directory. It's the shortname of the user. I think I had to chmod 777 the directory in terminal. But when I went back to accounts it deleted normally.
0

#5 User is offline   MacCheetah3 Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 6,645
  • Joined: 02-April 01

Posted 13 January 2003 - 06:01 PM

Hi
Even though I know the basic UNIX. How do you chmod again?
sudo chmod 777
Is that it? I don't do sudo too often. Thanks!
MacCheetah3
"Hurry up and plug it"
0

#6 User is offline   smd3 Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 66
  • Joined: 01-October 02

Posted 13 January 2003 - 06:14 PM

You'll need to be root (super user) to do this, or use the sudo command.
I don't use sudo much, but it'll do.
For this example the particular home directory will be called "junk" This would be if the user's shortname was "junk"
sudo chmod 777 /Users/junk
then hit enter. this is the command line way to make the group world readable/writable. I suppose you could do it under "get info" also.
0

#7 User is offline   MacCheetah3 Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 6,645
  • Joined: 02-April 01

Posted 13 January 2003 - 06:19 PM

Hi
Thanks! I forgot the directory, but basically I had it right. I don't always trust the GUI. I'll try it out.
MacCheetah3
"Springs are the best things in the world!"
0

#8 User is offline   MacCheetah3 Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 6,645
  • Joined: 02-April 01

Posted 13 January 2003 - 07:49 PM

Hi
Great! It worked. Thanks a bunch smd3!
MacCheetah3
"Who knew that was how squirrels do it?"
0

#9 User is offline   Nobody Icon

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

Posted 13 January 2003 - 08:02 PM

This is the first time I've seen you ask for help. /forums/ubbthreads/images/graemlins/grin.gif
Normally it's you who's always helping us with problems. /forums/ubbthreads/images/graemlins/wink.gif
0

#10 User is offline   MacCheetah3 Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 6,645
  • Joined: 02-April 01

Posted 13 January 2003 - 08:05 PM

Hi
That's true. But, sometimes things can get the best of the best /forums/ubbthreads/images/graemlins/grin.gif
MacCheetah3
"I know she shouldn't be wearing short shorts"
0

#11 User is offline   eDc Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 22-January 03

Posted 23 January 2003 - 12:16 AM

Hi I'm experiencing the same problem. I've got rid of the extraneous directories, but the users still don't die under the System Preferences->Accounts area and, obviously, show up as options when I log in.
I tried the sudo chmod 777 command, but it didn't help me. I'm very new to UNIX. Would it be possible to walk me through getting rid of the Users under the System Preferences/Accounts area?
Thanks very much,
Ed
0

#12 User is offline   MacCheetah3 Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 6,645
  • Joined: 02-April 01

Posted 23 January 2003 - 12:31 AM

Hi
I followed smd3's instructiosn exactly and it worked. I would definitely recommend doing the procedure in root and skipping the entire sudo command.
1) Log in as root
2) Create a new empty folder with the "short name" of the user you wish to delete. For example, if the user who you want to delete's shortname is username than create a folder named username in the Users folder.
3) Launch the Terminal
4) Using the same example of username above, you would type chmod 777 /users/username and than press Return/Enter
5) Quit the Terminal and Launch System Preferences
6) Now, choose the user and click Delete and it should finally delete as it is suppose to.
Tell us how it turns out.
MacCheetah3
"I can't seem to find the pot of gold in my Lucky Charms"
0

#13 User is offline   eDc Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 22-January 03

Posted 23 January 2003 - 09:15 AM

MacCheetah3,
Did exactly as you wrote. But the users did not delete from the Accounts as you expected. I have no problems getting rid of the user folders under Users directory, yet somehow the extraneous users still stay on as login options as well as in the Accounts window.
Any more ideas?
Thanks again,
Ed
PS running G4 400MHz Gigaethernet with 10.2.2
0

#14 User is offline   eDc Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 22-January 03

Posted 23 January 2003 - 09:28 AM

Also, the weird thing is that although none of the user folders are actually under the Users directory, I can still log on as these users (with their respective passwords). I've set up the two user accounts - guest and John - so that they are normal users and they can only have access to Simple Finder (note I can still edit and modify capabilities of the users under System Preferences). When I log in under their respective accounts, the Dock just the Finder and Trash icon (obvious), two "?" icons and the shared folder.
Somehow the accounts managment system does not recognize the deletion of the users, but I can't access where that data is stored.
A bit more info: My account is the only one that is the administrator. I am curious whether or not it is something to do with how my account is set up...
Note that I have a/b'ed my account setting with my iBook (last gen's 700Mhz with CD-RW) and they, for what I've checked, are the same. The iBook does NOT have the same problem as my G4.
Thanks again!
Ed
0

  • (2 Pages)
  • +
  • 1
  • 2
  • 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