Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Creating the password file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Creating the password file
Authored by: BrianYoung on Jul 03, '02 11:52:42PM

I have tried to create the password file exactly as posted in the original message. It didn't work and I am still asked for a username and password by my Mac. Has anyone else gotten this to work? Please share what you have learned.

Some things are not clear in the original post:

Directions were give to create null characters (^@) and the control-C character (^C). However, the example also shows a control-F character (^F) just before the password. I used emacs and created a file just like the example (with my password and user info). I created the ^F character using "control-q control-f". Is this correct?

Also, is the number of null characters important? The post does not elude to this, but after reading man pages it sounds like the number of null characters should be the same as the number of characters in the username.

Any clarification would be helpful.



[ Reply to This | # ]
Creating the password file
Authored by: Barry Books on Jan 18, '03 09:45:03AM

the format is
32bit number
userid
32bit number
password

so if your userid is fred and password smith the file would contain in hex

0000 0004 6672 6564 0000 0005 736d 6974 680a

or

^@^@^@^Dfred^@^@^@^Esmith

the 0a on the end is a newline



[ Reply to This | # ]