pycreateuserpkg
pycreateuserpkg copied to clipboard
Issue with 10.14+ and DEP Enrollment
I tested this with DEP enrollment and the AutoLogin doesn't work. I had to repackage the .pkg and add the kcpassword file to fix the issue.
I don't use DEP enrollment so I have no way to test and/or address this issue. Looks like a nice task for another Mac admin to contribute...
That seems (to me) to be the expected behavior: that autologin means "after booting, automatically log into this account". I would not expect it to immediately work after an install on an already booted system.
How are you rebooting via a post install script or just manually rebooting?
On Mon, May 20, 2019 at 4:16 PM Peter Wells [email protected] wrote:
My auto login works without repackaging in 10.14 on DEP - Iβve been using it all year, 750+ macs so far
I install the user at enrolment then immediately reboot.
On Tue, 21 May 2019 at 7:01 am, Greg Neagle [email protected] wrote:
I don't use DEP enrollment so I have no way to test and/or address this issue. Looks like a nice task for another Mac admin to contribute...
β You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AJXEPVLZBIRYE4FO4NIWVRDPWMGT5A5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2CA6Y#issuecomment-494149755 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AJXEPVKU35HGYU77D4GYJPDPWMGT5ANCNFSM4HOEY7YQ
.
-- Peter Wells +61 403 981 744 @peterwells Sent from a teeny lil computer π±
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AKNV6TGOC3QNKSGJI3MRACLPWMILJA5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2DC3A#issuecomment-494154092, or mute the thread https://github.com/notifications/unsubscribe-auth/AKNV6TB2QQFURBTNAV5IT5TPWMILJANCNFSM4HOEY7YQ .
Ok I thought I tested that. I will try tomorrow and see if I can get this to work. Thanks
On Mon, May 20, 2019 at 4:44 PM Peter Wells [email protected] wrote:
Just using a jamf reboot command at the end of enrolment policy actually, so whatever it uses in the background.
On Tue, 21 May 2019 at 7:26 am, kylejericson [email protected] wrote:
How are you rebooting via a post install script or just manually rebooting?
On Mon, May 20, 2019 at 4:16 PM Peter Wells [email protected] wrote:
My auto login works without repackaging in 10.14 on DEP - Iβve been using it all year, 750+ macs so far
I install the user at enrolment then immediately reboot.
On Tue, 21 May 2019 at 7:01 am, Greg Neagle [email protected] wrote:
I don't use DEP enrollment so I have no way to test and/or address this issue. Looks like a nice task for another Mac admin to contribute...
β You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <
https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AJXEPVLZBIRYE4FO4NIWVRDPWMGT5A5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2CA6Y#issuecomment-494149755
, or mute the thread <
https://github.com/notifications/unsubscribe-auth/AJXEPVKU35HGYU77D4GYJPDPWMGT5ANCNFSM4HOEY7YQ
.
-- Peter Wells +61 403 981 744 @peterwells Sent from a teeny lil computer π±
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <
https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AKNV6TGOC3QNKSGJI3MRACLPWMILJA5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2DC3A#issuecomment-494154092
, or mute the thread <
https://github.com/notifications/unsubscribe-auth/AKNV6TB2QQFURBTNAV5IT5TPWMILJANCNFSM4HOEY7YQ
.
β You are receiving this because you commented.
Reply to this email directly, view it on GitHub < https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AJXEPVNT2FQS4QXYHTIKBPLPWMJRBA5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2DZSA#issuecomment-494157000 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AJXEPVLDEBD666LGSGOZIBTPWMJRBANCNFSM4HOEY7YQ
.
-- Peter Wells +61 403 981 744 @peterwells Sent from a teeny lil computer π±
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AKNV6TFTD4KWBZB6CJIZQILPWMLTZA5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2FA3Y#issuecomment-494162031, or mute the thread https://github.com/notifications/unsubscribe-auth/AKNV6TGKJTVHLH4QDF547U3PWMLTZANCNFSM4HOEY7YQ .
I just tested this with Jamf Pro 10.12 and macOS 10.14 The auto login doesnβt seem to work.
On May 20, 2019, at 4:44 PM, Peter Wells [email protected] wrote:
Just using a jamf reboot command at the end of enrolment policy actually, so whatever it uses in the background.
On Tue, 21 May 2019 at 7:26 am, kylejericson [email protected] wrote:
How are you rebooting via a post install script or just manually rebooting?
On Mon, May 20, 2019 at 4:16 PM Peter Wells [email protected] wrote:
My auto login works without repackaging in 10.14 on DEP - Iβve been using it all year, 750+ macs so far
I install the user at enrolment then immediately reboot.
On Tue, 21 May 2019 at 7:01 am, Greg Neagle [email protected] wrote:
I don't use DEP enrollment so I have no way to test and/or address this issue. Looks like a nice task for another Mac admin to contribute...
β You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <
https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AJXEPVLZBIRYE4FO4NIWVRDPWMGT5A5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2CA6Y#issuecomment-494149755
, or mute the thread <
https://github.com/notifications/unsubscribe-auth/AJXEPVKU35HGYU77D4GYJPDPWMGT5ANCNFSM4HOEY7YQ
.
-- Peter Wells +61 403 981 744 @peterwells Sent from a teeny lil computer π±
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AKNV6TGOC3QNKSGJI3MRACLPWMILJA5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2DC3A#issuecomment-494154092 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AKNV6TB2QQFURBTNAV5IT5TPWMILJANCNFSM4HOEY7YQ
.
β You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AJXEPVNT2FQS4QXYHTIKBPLPWMJRBA5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2DZSA#issuecomment-494157000, or mute the thread https://github.com/notifications/unsubscribe-auth/AJXEPVLDEBD666LGSGOZIBTPWMJRBANCNFSM4HOEY7YQ .
-- Peter Wells +61 403 981 744 @peterwells Sent from a teeny lil computer π± β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gregneagle/pycreateuserpkg/issues/30?email_source=notifications&email_token=AKNV6TFTD4KWBZB6CJIZQILPWMLTZA5CNFSM4HOEY7Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2FA3Y#issuecomment-494162031, or mute the thread https://github.com/notifications/unsubscribe-auth/AKNV6TGKJTVHLH4QDF547U3PWMLTZANCNFSM4HOEY7YQ.
I did more testing on this today. If I create this PKG to match my account created in Prestage (DEP) enrollment in Jamf it doesn't auto-login after a reboot.
If I just install this PKG outside of DEP it works fine after a reboot.
The workaround as outlined in my blog.
- Open the PKG in Jamf Composer
- Edit the pre-install script
- Add this to the end of the code
- Replace myprestageaccount with your account you made in the PKG
defaults write /Library/Preferences/com.apple.loginwindow.plist autoLoginUser -string myprestageaccount sudo installer -store -pkg "/tmp/DEPNotify-1.1.4.pkg" -target / sudo shutdown -r now