Skip to content

Passwords with "$" breaks upgrade #34

@mrazishere

Description

@mrazishere

send -- "$user_pw\n"

Doing some test with Monterey Self Service upgrade on M1 Macs and noticed upgrade failing, possibly due to mac password contains "$" in it. FV2 is enabled on all our machines.
Partial jamf policy logs below:

can't read "after": no such variable
while executing
"send -- "before$after\n""
(file "/dev/fd/50" line 11)

/Library/Application Support/JAMF/tmp/OS_Upgrade.sh: line 897: unset: `before$after': not a valid identifier
startosinstall did not succeed. See log at: /var/log/installmacos_211115064221.log and /var/log/install.log and /var/log/system.log

Upgraded successfully after replacing "$" character in mac password

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions