image
image

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

Reply
 
Thread Tools
  #1  
Old October 13th, 2002, 04:40 PM
Registered User
 
Join Date: Oct 2002
Location: central FL
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
markg is on a distinguished road
Recovering a deleted User

This is my first post here. I'm a relatively new Mac User and not technical as you will see from my problem.

PROBLEM: I deleted my main User on my Mac G4 running OSX 10.1.5 after creating a new User. Since I did not specify otherwise the deleted User went to System Administrator. This User has all my relevant files (email, internet favorites, etc). This is a home computer and I do not have any need to set up multiple Users, except in this case to troubleshoot another problem which led to a greater one. Also my new User does not have internet or email access. It only works through System Administrator.

Can I recover this User or at least all the preferences and associated files? I have tried logging in as System Admin and copying folders from the deleted User name to the new User but got error saying I don't have permissions when I tried opening them as the new User. Tried creating new folders on new User and copying the contents of the deleted folders and that seemed to work for most folders containing gerneral files.

Any advice would be much appreciated.
Reply With Quote
  #2  
Old October 13th, 2002, 04:48 PM
DarkFrost's Avatar
Registered User
 
Join Date: Oct 2002
Location: Newport, RI
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
DarkFrost is on a distinguished road
Eeeeek.... Ignore me.
My mind was in the wrong place.
Sorry

----
-This should get you access to your files.
I'll poke around and see what I can find out about restoring users

1: Open the "Terminal" application
2: Type: "sudo chmod 775 /" in the terminal window
(this will give you root admin access)
----

Last edited by DarkFrost; October 13th, 2002 at 05:28 PM.
Reply With Quote
  #3  
Old October 13th, 2002, 05:17 PM
Rhino_G3's Avatar
Registered User
 
Join Date: Oct 2001
Location: Lyons, KS
Posts: 844
Thanks: 0
Thanked 0 Times in 0 Posts
Rhino_G3 is on a distinguished road
Quote:
Originally posted by DarkFrost
This should get you access to your files.
I'll poke around and see what I can find out about restoring users

1: Open the "Terminal" application
2: Type: "sudo chmod 775 /" in the terminal window
(this will give you root admin access)

-DF
Dark frost, what exactly is that command supposed to do? that will change the permissions at the root of you filesystem, but nothing else. The owner will still be root. That specific command may cause more problems than it solves.

Unfortunately you can not restore a user but if you know the exact username and User ID you can recreate the user through a command in the terminal.

Other than having to mess with that you can use the "chown" command to change the owner of specific files. You will want to be carefull in how you use this command though. Is it only files in your old home directory that you need to gain access to?

if you type "man chown" in the terminal it will show you the exact usage and syntax that you would need to use. Terminal is located in the utilities directory.

If you don't feel safe using the command line you can alternately use a graphical utility such as xFiles to change the owner or permissions, which can be found at www.versiontracker.com
Reply With Quote
  #4  
Old October 13th, 2002, 06:46 PM
Registered User
 
Join Date: Oct 2002
Location: central FL
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
markg is on a distinguished road
DarkFrost, Rhino, Thanks for your responses.

Rhino, Yes the files in my old User home dir are what I am trying to recover, specifically my email files/settings, internet favorites, and the settings for my internet connection.

Can you be more specific on what I need to do in Terminal as I have not used it before and I don't want to make even more of a mess of things? If it is too involved let me know and I will try the xFiles. The xFiles maybe the easy way but I like to learn how to fix things or at least understand what I did wrong.

Out of curiosity why am I not able to get to the internet or configure my Mail from a new User?
Reply With Quote
  #5  
Old October 14th, 2002, 09:29 AM
Registered User
 
Join Date: Oct 2002
Location: central FL
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
markg is on a distinguished road
PROBLEM SOLVED?

Maybe. Here's what I did:

Logged in as root; selected all the folders in the deleted User Home one at a time chose File - Show Info, then selected drop-down box for privileges selected Read & Write for Group and Everyone; copied all contents of the deleted User Home into the Home of my new User; logged out of root and into new User.

This seemed to resolve my problem as everything appears as it was before I deleted my main User.

Thanks for the advice.
Reply With Quote
  #6  
Old October 14th, 2002, 01:45 PM
Rhino_G3's Avatar
Registered User
 
Join Date: Oct 2001
Location: Lyons, KS
Posts: 844
Thanks: 0
Thanked 0 Times in 0 Posts
Rhino_G3 is on a distinguished road
Yes, exactly. that will fix it for you. That is, in essence, what I had meant by the permissions. There are a few quicker ways to do it but the way you did it is probably the easiest.

The owner is still set to the old user that you deleted, but you do now have full access to the file.
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thank God the Witch Is Dead Veljo Mac OS X System & Mac Software 2 June 27th, 2003 05:51 PM
user deleted etc from os 9 seann Mac OS X System & Mac Software 1 January 23rd, 2003 03:17 PM
Want to empty trash with deleted user, have tried every single terminal code... RPS Mac OS X System & Mac Software 9 November 9th, 2002 12:17 AM
deleting a deleted user account karavite Mac OS X System & Mac Software 2 October 16th, 2001 06:21 AM


All times are GMT -5. The time now is 01:19 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.