Repository navigation
feat!: align with Omarchy PR #16920 - #16
Merged
Merged
Conversation
…r, handoff, children, hardening) - Journal account creation and removal in omarchy-mu-user-helper (add, delete, verify) alongside password changes, and refuse removing the disk's last LUKS key slot even when finishing a journal. - Track root's password holder in /etc/omarchy-multiuser/root instead of locking root when there are multiple accounts; hand root over on delete or demotion (root-take), and unlock a previously locked root on the holder's next password change. - Add omarchy-mu-handoff and 96-omarchy-mu-handoff.hook to hand slot map and root holder over to /etc/omarchy/users and step aside once Omarchy ships its own Setup > Users. - Expose Setup > Users (with Change Password) to all users, hide Update > Password > User, and add omarchy-mu-drive-password to exclude the system disk from Drive Encryption password changes. - Add child accounts (omarchy-child group, omarchy-mu-user-add --child), adult-check unlock fallback on the lock screen, and per-user blocked apps (omarchy-mu-user-apps, omarchy-mu-user-apps-apply, pacman hook). - Harden NOPASSWD/sudo/pkexec/PAM entry points (lib/omarchy-multiuser/security.sh): require privileged bash -p startup, sanitize exported functions and dangerous env vars, enforce a fixed PATH and umask as root, ignore OMU_* overrides under PAM/sudo/pkexec, and ignore caller OMARCHY_PATH in omarchy-mu-apply-lock.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns
omarchy-multiuserwith Omarchy PR #16920 while preserving all existingomarchy-multiusercapabilities (per-user FIDO2 and fingerprint, migration handling, lock screen & greeter controls, menu i18n, admin promote/demote, etc.):omarchy-mu-user-helper):addanddeletenow run inside/var/lib/omarchy-multiuser/password-journal(op=add|password|delete), rolling back or forward on interruption viafinish.omarchy-mu-user-removeverifies the caller's password up front (helper verify) before cleaning up FIDO2/fingerprints and callinghelper delete./etc/omarchy-multiuser/root):root-take); a root account locked by an earlier version is unlocked on the holder's next password change.omarchy-mu-handoff):omarchy-user-helperandomarchy-login-select, finishes any pending journal, copies/etc/omarchy-multiuser/{slots,root}to/etc/omarchy/users/, removes our PAM line and mkinitcpio hook when upstream's is present, and steps aside.96-omarchy-mu-handoff.hookand packagepost_install/post_upgrade.omarchy-mu-drive-password):omarchy-drive-passwordso the system disk is excluded once per-user LUKS slots manage it.omarchy-child):omarchy-mu-user-add --childcreates a limited account inomarchy-childwith a local git identity and default blocked apps (share/child-blocked-apps).omarchy-mu-user-helper adult-check, rate-limited and logged) lets an administrator unlock a child's session.omarchy-mu-user-apps,omarchy-mu-user-apps-apply, and95-omarchy-mu-blocked-apps.hook) enforce binary ACLs and hide desktop entries.lib/omarchy-multiuser/security.sh):omarchy-mu-user-helper,omarchy-mu-login-match,omarchy-mu-fido2-authfile, andomarchy-mu-apply-lockrequire privileged#!/bin/bash -pstartup, stripBASH_ENV/SHELLOPTS/exported functions, enforce a fixedPATHandumaskas root, ignoreOMU_*test overrides undersudo/pkexec/PAM, and ignore callerOMARCHY_PATHinomarchy-mu-apply-lock.Testing
just test: Node JS tests, all shell test suites including newhandoff,drive-password,children, andsecuritysuites,shellcheck,qmllint,greeter-smoke, andvisudo -cf) passes inside the Arch CI container.