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

Password storage, net info


Post Reply New Thread Subscribe

 
Thread Tools
azrail
Guest
 
Posts: n/a

I have a question about how passwords are stored via, the net info database.

I have found that /private/var/db/shadow/hash/(generateduid) has a hash or something value. I am asking 1) is this the actual password hash, 2) if it is, how to i code it to that, (eg. md5->salt->crypt etcetc)

Any help would be greatly appreciated.

Dave
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
The pass word is encrypted. I will have to look at what you are speaking to understand your questions. In all cases the users pass word is encrypted on all favors of unix.

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
Yup and Mac uses the best encryption now in file vault so you have to be very careful not to lose/forget the master password
QUOTE Thanks
azrail
Guest
 
Posts: n/a

Ok those dident quite answer my question. I know unix (most flavours) very well. The question I have is 'how' is the password data stored. From when i go into system preferences -> users -> user(change the pass) to where that new password is stored. And how that new password is "encrypted" (not the word to use, encrypted means it can be decrypted, its one-way-hashed) using what hash functions.

I have tried to: md5 -s passwordhere > /private/var/db/shadow/hash/myusersgenerateduid

but that dident authenticate.

If anyone knows how to genereate, or how the once you get that password, how you can store it into the net info database.

--dave
QUOTE Thanks

Post Reply New Thread Subscribe


« Problem with .DMG file and INSTALLING PANTHER OS | New G5 need basic setup for root. Newbie »
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
ethernet password probelms digirep Switcher Hangout 3 04-30-2006 01:14 PM
MySQL password retardation mrtojamura OS X - Development and Darwin 0 02-19-2004 08:13 PM
Forgot login password in OS X..HELP! kevlar OS X - Operating System 2 12-31-2003 12:55 AM
Dockable iPods now offer voice recording, photo storage Murlyn iPod Hardware and Accessories 0 10-16-2003 02:41 PM

All times are GMT -4. The time now is 12:02 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?