New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Can you recover a lost Admin user account?


Post Reply New Thread Subscribe

 
Thread Tools
happyleaves
Guest
 
Posts: n/a

Hi

I tried to setup a second user on my Mac and run them both as Admin users. When i swtiched over to the the secondary Admin user and logged back in, i couldn't see the primary Admin user. I tried to logging out/restarting/shutting down to login as the primary Admin user but it cannot find the account. It seem to have deleted this account as when i'm logged in as the secondary Admin user there is only the one account visible in the Accounts settings in the System Preferences.

Is there a way to either recover this 'lost' account or somehow access its files, folders and program settings (like iCal or Address Book) or is i gone forever?

Stupidly, my work is only backed up until mid August so i would lose 8 weeks work, plus all the contacts and calendar dates in those two aformentioned programs. Please don't tell me i'm staring down the barrel of a full format????

Thanks for your help

Karl
QUOTE Thanks
Anarchyst_blu
Guest
 
Posts: n/a

check in netinfo. It is possible it is just not showing up in the startup pane. if it is in netinfo, the account still exists, and u could log in via Terminal ('login username', then ur password at the prompt, or u could login by changing the system preferences to display a name and password prompt, instead of having the account names allready there when u log in. then copy all of your important files to the alternate admin account, and make it ur primary.
QUOTE Thanks
happyleaves
Guest
 
Posts: n/a

Thanks, but there is nothing there by way of the old primary admin user account, so i guess i have lost access to this data for good! A full reinstall beckons...
QUOTE Thanks
immdb

 
immdb's Avatar
 
Member Since: Nov 04, 2003
Location: Southern Indiana
Posts: 652
immdb will become famous soon enough
Mac Specs: Mac Pro Quad Xeon 2.66GHz 3GB RAM, G4 Quicksilver w/Sonnet 1GHz Encore ST, 1ghz G4 Powerbook

immdb is offline
If you can't get to the Admin account and you need to reinstall…

during the reinstall select "Archive and Install," then select Preserve Users and Network Settings to save your existing files, users, and network settings.

I would think that the new Admin would be able to get to all of the data.
QUOTE Thanks
baggss

 
baggss's Avatar
 
Member Since: Oct 10, 2004
Location: Margaritaville
Posts: 10,309
baggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond repute
Mac Specs: 27" 3.4 Ghz i7 iMac-13" C2D Macbook-OSX 18.8.2-64Gb iPad 2-32 Gb iPhone 5-ATV 2-14Tb of Storage

baggss is offline
Boot from the CD. When the first instal screen comes up, go to the task bar and look for an option to reset password. It will allow you to reset the password for ANY account.....


QUOTE Thanks
savers
Guest
 
Posts: n/a

or would this work?

----------------

Exploit

Step 1) Restart the computer (or turn it on if it's already off) while holding down the command and s keys at the same time. (If the computer is running Mac OS Public Beta, just press the s key.) They have root privileges at this moment, but now it's time to take advantage of these privileges.

Step 1.5) Type "/sbin/fsck -y". (Type this without the quotes, of course.) (This step really isn't necessary at all, but it just takes a second, and they might as well just do a quick check of the hard disk before mounting it.)

Step 2) Type "/sbin/mount -wu /" (This mounts the volume "/" with read/write access.)

Step 3) Type "/sbin/SystemStarter" (This starts the network services, which is necessary to gain access to NetInfo.)

Step 4) Here, one could now just type "passwd root" and override the existing root password with one of their own, or worse yet, someone could just get the current root password (and/or the administrative user account password) so the administrators of that computer don't know that their security has been compromised. One of the easiest ways to do this is to just type "nidump passwd ." and write down the root account's password hash. (The hash will be the text that looks like just a garbled mess of alphanumeric characters between two colons.)


Step 5) Now one can type up what they wrote down into a plain text file like the following example: "root:rQkFQ37SYveHw:0:0::0:0:System Administrator:/var/root:/bin/tcsh".

Step 6) Finally, they'll use a cracking program like John the Ripper for the PC, or the Meltino, a Classic Macintosh application, to crack the password hash.

And when it's finally cracked it, they've got the password


3) Capitalization Matters! "/sbin/SystemStarter"

Posted: February 27, 2004, 5:21 pm Post subject
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
Savers, the problem with that is you need the pass word in order to change the pass word. It will ask for the old pass word, then ask you for the new pass word. This only happens when change the root pass word. If root is changing a regular users pass word then the old pass word is not needed.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
The bottom line in OS X is be very careful with passwords. If a post claiming that you just bought an other dudes box and he forgot to give you the password.. go back to e-mail them or full reinstall
QUOTE Thanks
savers
Guest
 
Posts: n/a

can you just delete the password file that holds the admin password and be done with it?
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
Quote:
Originally Posted by savers
can you just delete the password file that holds the admin password and be done with it?
If you want to bring a unix system down hard, delete the pass word file.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks

Post Reply New Thread Subscribe


« Website Blocking and page re-direction. | Stupid Questions »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
NEED HELP > Admin can't delete user... joelkanning OS X - Operating System 2 02-02-2004 05:55 PM
How to transfer account user from one powerbook to another. MODUS OS X - Operating System 6 01-21-2004 07:14 PM
second admin account? euangel OS X - Operating System 0 11-24-2003 11:42 PM

All times are GMT -4. The time now is 01:40 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?