AFP548

Creating a Local Admin via PKG in Leopard Question

Taking Joel's post here: [url]https://www.afp548.com/forum/viewtopic.php?showtopic=18558[/url] Which says [quote]"The pkg just needs to install 2 files. One for the plist for the user record to be put into the local db. The other file for the hash."[/quote] I set out to create that package. I added the following files: [code]/var/db/dslocal/nodes/Default/groups/admin.plist[/code] Local group file with the localadmin included. [code]/var/db/dslocal/nodes/Default/users/localadmin.plist[/code] Local user file defining the local admin, including the generateduid used in the shadow hash file. [code]/var/db/shadow/hash/AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA[/code] Password hash for the local admin [code]/var/db/.AppleSetupDone[/code] Flag to disable the setup assistant Examining localadmin.plist file, the authentication_authority section includes the following (truncated for clarity): [code];Kerberosv5;;instadmg@LKDC:SHA1.D1C813C...[/code] I understand that there is now a local KDC in Leopard, but what should I do with these lines? Delete the local KDCs? Delete the entire line? Thanks, - Patrick
Exit mobile version