Darwin UID versus Shortname

I have the same Darwin issue with a MacMini running OSX 10.4.11

I followed the guide in this thread: http://discussions.apple.com/message.jspa?messageID=1553062
and had the +"AuthorizationRef doesn't have a username"+ i the systems log.

I then tried to recreate the Netinfo database as described by Michael Conniff.
I typed very carefully, but could not get past the part where i have to list the UID against the shortname:

+This last command will give you one line for each user, plus one for the "Shared" directory, which doesn't interest us. Each user will have a line like one of these:+
+drwxr-xr-x 29 501 501 986 Jan 17 18:38 michaelc+

+drwxr-xr-x 14 520 20 476 Sep 10 2004 jdoe+

+The second numeric field (501, 520) is the user ID (UID) *and you need to list the uids against the shortname s* given in the final column. Make sure you get the name right for UID 501! Then continue with+
reboot

Theres no example on how to list the uids and i cannot find out how to do it... i have tried everything... please help

I have only on user and that is UID 501. It says:

*drwxr-xr-x 17 501 501 578 May 29 17:46 arne ("arne" being the shortname)*

Just how do i list the 501 against "arne"? Please giv an exampleto follows as i am completely new to using command-line... never experienced this in my 10 years of Mac'ing.. thought it only happened in DOS 🙂

Thanks

Powerbook, Mac OS X (10.4.11)

Posted on Jun 9, 2008 1:37 PM

Reply
10 replies

Jun 9, 2008 1:54 PM in response to jetandrup

Just write it down on a piece of paper so you have the information for when you reboot. You then consult the list, make sure the first user you set up on reboot has the short name corresponding to 501 on your list, and create any others in the relevant order using System Preferences later. Since you are the only user, just make a note of your short user name and make sure that the account you set up after rebooting has exactly the same short user name. It will be like the first time you set up an account after switching on a brand new/reinstalled Mac. As long as the user gets your short user name, you'll be fine.

- cfr

Jun 9, 2008 1:56 PM in response to jetandrup

If I'm reading that other thread correctly, he's just telling you to map the UID to the username (like on a piece of paper or something). For example, in the step where you list the user home folders in /Users, he wants you to write down that "501" maps to "arne" (similarly for other users, if present).

Then, after you're out of single-user mode, and Setup Assistant asks for user information, you then make sure that the "501" UID goes with the "arne" short name.

Jun 9, 2008 2:16 PM in response to jetandrup

jetandrup wrote:
I thought I had to type it, so I tried a lot of combinations... a piece of paper never crossed my mind

That's the problem with this new fangled technology!
... I think when you have never tried these things before you assume it has to be VERY difficult 🙂

Well I'll try it right away!

Let us know how you get on...

- cfr

Jun 9, 2008 3:41 PM in response to jetandrup

What happened exactly? Did you reach any setup screens or is this the first thing that happened after reboot?

Reboot from the install disk by holding down the 'c' key. Choose your language. Do not continue installation. Instead, choose Disk Utility from the Utilities menu. Select your disk on the left. Make sure S.M.A.R.T. status is "verified" rather than "failing". Now select your startup volume on the left. Choose "repair disk". Wait. Repeat until you get a message that "The volume <name of volume> appears to be OK". Choose "repair permissions". Reboot.

- cfr

Jun 12, 2008 11:16 AM in response to Clea Rees

When i reboot it shows the Mac OSX startup screen and the progress bar runs like allways, but as soon as the first startup screen disappear i have a blue screen and the "spinning pin" symbol (dont know what it is called) shows in very short glimps every 3 or 4 seconds, and it never comes any further.

I tried to boot from the DVD and the disc is OK. I repaired permissions, but its still the same.

The system log is filled with this information which is logged every 2-4 seconds:

JUN 12 19:41:14 arnes-mac-mini launchd: getting server task port (1): (os/kern) failure
JUN 12 19:41:14 arnes-mac-mini /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
JUN 12 19:41:18 arnes-mac-mini /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: MCXD .createConnection Unable to register server
JUN 12 19:41:18 arnes-mac-mini /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: MCXD Unable to create connection
JUN 12 19:41:18 arnes-mac-mini /System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: mcxd- runloop could not be started; status = -2
JUN 12 19:41:20 arnes-mac-mini /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started

... and then it just goes on and on...

Can it be fixed or is it a clean restore??

please any ideas 🙂

BR

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Darwin UID versus Shortname

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.