in OSX ? fuck
Page 1 of 1
AUTHOR
where the fuck is the PASSWORD FILE
It's right there, Klint.
Listen, Shelle...
I'm all ears
i wish i could help
NetInfo provides some nice Unix compatibility features. One example is the command to dump the NetInfo user database in standard Unix /etc/password file format:
% nidump passwd .
This is where things start diverging between OS X versions. In OS X 10.2 (and presumably 10.0 and 10.1), the hashed password is stored directly in NetInfo. It also uses the standard Unix DES hash. Since all users have access to the complete NetInfo database, any user on the machine may run the nidump command above and get every user's hashed DES password. To illustrate this point, let's say we have a fictitious user with the login of "sjobs" and password of "macintosh":
% nidump passwd . | grep sjobs
sjobs:3dI880QaIz.Wk:501:501::0:0:sjobs:/Users/jobs:/bin/bash
That's correct: passwords are not shadowed and it uses the same hashing algorithm used in AT&T Unix Version 7, which was released in 1979. Everything the rest of the Unix world has learned about passwords in the last 25 years has been ignored. 10.2 was released in 2002. Shadow passwords were first introduced by AT&T in 1987. And DES was effectively proven weak in 1997 by RSA's DES Challenge. DES also truncates passwords to 8 characters, which makes it nearly impossible to use a passphrase, instead of a password. We can verify this password using the openssl command line tool:
% openssl passwd -crypt -salt 3d macintosh
Warning: truncating password to 8 characters
3dI880QaIz.Wk
% nidump passwd .
This is where things start diverging between OS X versions. In OS X 10.2 (and presumably 10.0 and 10.1), the hashed password is stored directly in NetInfo. It also uses the standard Unix DES hash. Since all users have access to the complete NetInfo database, any user on the machine may run the nidump command above and get every user's hashed DES password. To illustrate this point, let's say we have a fictitious user with the login of "sjobs" and password of "macintosh":
% nidump passwd . | grep sjobs
sjobs:3dI880QaIz.Wk:501:501::0:0:sjobs:/Users/jobs:/bin/bash
That's correct: passwords are not shadowed and it uses the same hashing algorithm used in AT&T Unix Version 7, which was released in 1979. Everything the rest of the Unix world has learned about passwords in the last 25 years has been ignored. 10.2 was released in 2002. Shadow passwords were first introduced by AT&T in 1987. And DES was effectively proven weak in 1997 by RSA's DES Challenge. DES also truncates passwords to 8 characters, which makes it nearly impossible to use a passphrase, instead of a password. We can verify this password using the openssl command line tool:
% openssl passwd -crypt -salt 3d macintosh
Warning: truncating password to 8 characters
3dI880QaIz.Wk
that any help? i dont know much about apple or unix though 

The /etc/passwd file is only consulted when the o/s is in single-user mode. The "standard" location for account information on OS/X is the DirectoryService
Try man DirectoryService for more information.
Try man DirectoryService for more information.
that doesn't work in 10.5
=/
=/
Klint it's right there. -points-
FriendZone quote:What are you trying to do Klint?
that doesn't work in 10.5
=/
Oh my fucking god Klint what are you doing? it's RIGHT FUCKING THERE. -points with conviction-
-This message has been edited by Qirot on 12/7/2010 10:53:53 PM
Louis2rich quote:basically chntpw for OSX
What are you trying to do Klint?
Klint, you computer mastermind you.... I need your help, pretty please?
D00DE quote:will work for food
Klint, you computer mastermind you.... I need your help, pretty please?
although the silly openssl passwd -crypt -salt 3d Macintosh works quite well
fuck.
fuck.
FriendZone quote:try:
basically chntpw for OSX
passwd (user)
http://www.tuaw.com/2007/07/17/mac-101-reset-your-mac-os-x-password/
fuck. alright, how do i do this from bt4 live?
chosxpw.pl would own
chosxpw.pl would own
Page 1 of 1
Quick reply
Sign in to post a message.Times shown in Eastern Time (ET).
