Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md: change sed command to bypass update passwd dialog #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FreddieOliveira
Copy link

If the root user has a passwd update pending, changing only the 'auth sufficient' line will bypass the initial verification, but the user will be trapped by the update passwd dialog, which asks for the old one. To avoid this, overwriting the 'password required' line is also necessary, so the passwd update dialog is bypassed too.

If the root user has a passwd update pending, changing only the 'auth sufficient' line will bypass the initial verification, but the user will be trapped by the update passwd dialog, which asks for the old one. To avoid this, overwriting the 'password required' line is necessary, so the passwd update dialog is also bypassed.
@zhuowei
Copy link
Owner

zhuowei commented Dec 21, 2022

Thank you so much for your contribution!

On a stock macOS installation, the root user doesn't even have a password, so I'm not sure if anyone would run into this in practice.
I'm probably going to keep my current demo command line since it's easier to understand, but I'll keep your PR open in case anyone runs into the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants