Skip to content

username check could be circumvented if set null . #394

@ghpZ54K8ZRwU62zGVSePPs97yAv9swuAY0mVDR4

Description

the user or username field is set by full name on macos system settings which is optional field on macos and if set by null or empty, the condition code below would be entered and the diskutil command will fail :

asahi-installer/src/main.py

Lines 206 to 208 in 6c09fb2

if not self.cur_os.admin_users or self.cur_os.admin_users == ["_mbsetupuser"] or (
self.sysinfo.boot_mode == "macOS" and self.sysinfo.login_user not in self.cur_os.admin_users):
# Out of date Preboot partition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions