create: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
I dont use bootstrappr to create the local admin. I use bootstrappr only to install, configure and kickoff munki. munki does does user creation task. I recommend syadminctl over dscl for user account creation. sysadminctl creates a securetoken, not sure about dscl. below is my script for creating our admin account.
#!/bin/bash
sysadminctl -addUser mactech -UID 500 -password thePassw0rd -home /Users/mactech -admin -picture /Library/Scripts/TechnicalSupport.png
sleep 5
createhomedir -c -u mactech
exit 0
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/b8f8e725-a69f-4b16-ac48-0ead277583c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I dont use bootstrappr to create the local admin. I use bootstrappr only to install, configure and kickoff munki. munki does does user creation task. I recommend syadminctl over dscl for user account creation. sysadminctl creates a securetoken, not sure about dscl. below is my script for creating our admin account.
#!/bin/bash
sysadminctl -addUser mactech -UID 500 -password thePassw0rd -home /Users/mactech -admin -picture /Library/Scripts/TechnicalSupport.png
sleep 5
createhomedir -c -u mactech
exit 0
On Fri, Aug 3, 2018 at 1:19 PM, Sam Tarr <samt...@gmail.com> wrote:
We just started testing out bootstrappr I'm wondering how people are creating the local admin account when using bootstrappr. I'm trying to create it using a post install script in a package using dscl. I'm running into problems creating it on Macintosh HD instead of the booted volume. I've tried it the normal way we have created accounts in the past withdscl . create /Users/adminI've also trieddscl -f "$3/private/var/db/dslocal/nodes/Default" -raw . -create /Users/adminwhen running both I getcreate: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
Any help is appreciated. ThanksSam
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/98ad7c1f-0318-4b2c-92dc-b035ac611154%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/02e2e628-66f4-4e78-8b63-e8a7684e18a2%40googlegroups.com.
I dont use bootstrappr to create the local admin. I use bootstrappr only to install, configure and kickoff munki. munki does does user creation task. I recommend syadminctl over dscl for user account creation. sysadminctl creates a securetoken, not sure about dscl. below is my script for creating our admin account.
#!/bin/bash
sysadminctl -addUser mactech -UID 500 -password thePassw0rd -home /Users/mactech -admin -picture /Library/Scripts/TechnicalSupport.png
sleep 5
createhomedir -c -u mactech
exit 0
On Fri, Aug 3, 2018 at 1:19 PM, Sam Tarr <samt...@gmail.com> wrote:
We just started testing out bootstrappr I'm wondering how people are creating the local admin account when using bootstrappr. I'm trying to create it using a post install script in a package using dscl. I'm running into problems creating it on Macintosh HD instead of the booted volume. I've tried it the normal way we have created accounts in the past withdscl . create /Users/adminI've also trieddscl -f "$3/private/var/db/dslocal/nodes/Default" -raw . -create /Users/adminwhen running both I getcreate: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
Any help is appreciated. ThanksSam
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/b8f8e725-a69f-4b16-ac48-0ead277583c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CACzgJATsUB_rHigX88BZixAsGvUAU1VoVLj513ikMGvei%3DJpvQ%40mail.gmail.com.
On Aug 16, 2018, at 11:20 AM, Stephen Silbert <sil...@swampscott.k12.ma.us> wrote:It was because of this email thread that I learned of bootstrappr. AWESOME!!!I can get bootstrappr to create user accounts and install Munki tools but I can't get it to configure Munki. I made a pkg that works when I use ARD. But I can't get bootstrappr to get it to go.#!/bin/bashdefaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "http://mymunkiserver/munki_repo"defaults write/Library/Preferences/ManagedInstalls ClientIdentifier "Elementary_Laptops"/usr/local/munki/managedsoftwareupdate --installonlyexit 0I tried it with the $3 variable in consideration of the issues with postinstall scripts and absolute paths (maybe this is where I don't understand?)#!/bin/bashdefaults write $3/Library/Preferences/ManagedInstalls SoftwareRepoURL "http://mymunkiserver/munki_repo"defaults write $3/Library/Preferences/ManagedInstalls ClientIdentifier "Elementary_Laptops"$3/usr/local/munki/managedsoftwareupdate --installonlyexit 0
#!/bin/bash/usr/bin/defaults write "$3/Library/Preferences/ManagedInstalls" SoftwareRepoURL "http://mymunkiserver/munki_repo"/usr/bin/defaults write "$3/Library/Preferences/ManagedInstalls" ClientIdentifier "Elementary_Laptops"
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CAPQodOX5HeE2XpaguhS9jUAvsnrPwKFUTe4HYgKzm6buRO%2Bkfg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/6DE825BB-D358-4C18-A6F5-55DCE8E00CA1%40mac.com.
Everything works! Munki bootstrapping package kicks butt! Awesome support. THANK YOU SO MUCH!!!!Stephen SilbertSenior Technology SpecialistSwampscott Public Schools********************************************This email may contain confidential material that is the sole property ofSwampscott Public Schools. If you were not the intended recipient, pleasenotify the sender and delete all copies. Thank you********************************************
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/b8f8e725-a69f-4b16-ac48-0ead277583c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CACzgJATsUB_rHigX88BZixAsGvUAU1VoVLj513ikMGvei%3DJpvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CAPQodOX5HeE2XpaguhS9jUAvsnrPwKFUTe4HYgKzm6buRO%2Bkfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/6DE825BB-D358-4C18-A6F5-55DCE8E00CA1%40mac.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CAPQodOVQW5sxEqbBMYP6x_kCxFqo1Tg6rYxQ56oDshVMO1MePw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CAGyTNKFwhEHSsMCDhNOSOJjYuDL3O6YTdY_MH0hupsGx3mLMqg%40mail.gmail.com.
Might be a better question for a TheLuggage support group/maillist/discussion forum.Independently of how TheLuggage behaves:Packages have payloads (files) which are installed to a target volume. This target can be chosen at install time. Package scripts need to be informed about that target volume. The mechanism used is to pass the path to the install volume as the third positional parameter to the script. In shell/bash that can be retrieved as $3.Does that clarify anything?
-Greg
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CAGyTNKFwhEHSsMCDhNOSOJjYuDL3O6YTdY_MH0hupsGx3mLMqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/830CE0F8-9FDA-4BA3-9208-0DB4987BE8CA%40mac.com.
On Aug 23, 2018, at 11:42 AM, 'Kris Lou' via munki-discuss <munki-...@googlegroups.com> wrote:To clarify, packages created with the Luggage don't need to have $3 references to deliver their payloads correctly, but postinstall scripts _should_ reference $3 as the target volume?For example, my munki_postinstall package delivers a preflight to ${WORK_D}/usr/local/munki, but the postinstall script touches /Users/Shared/.com.googlecode.munki.checkandinstallatstartup . This should instead touch $3/Users/Shared/.com.googlecode.munki.checkandinstallatstartup, but I don't need to do anything to the package Makefile?
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CAGyTNKFwhEHSsMCDhNOSOJjYuDL3O6YTdY_MH0hupsGx3mLMqg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CAGyTNKFwhEHSsMCDhNOSOJjYuDL3O6YTdY_MH0hupsGx3mLMqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/854EECEE-5510-49DF-8DC4-ADEA8B48F080%40mac.com.