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

Change to pam.d config file overwritten everytime macOS is updated #5

Open
tthoma24 opened this issue Mar 30, 2020 · 8 comments
Open

Comments

@tthoma24
Copy link

Everytime I updated macOS, the line I added to /etc/pam.d/sudo to enable pam_watchid gets removed.

@pesqair
Copy link

pesqair commented Jun 6, 2020

i guess we have to add it back in every time?

@jspiro
Copy link

jspiro commented Jun 6, 2020

https://gist.github.com/jspiro/0c9f15b0806aca17b092ef26713adcfe

I run this after updates to re-add TouchID support. I stopped bothering with the watchid support since I got a new computer. You could update the file to support watchid.

@tthoma24
Copy link
Author

tthoma24 commented Jul 4, 2020

This doesn't explain why the file is overwritten every time the OS is updated. /etc isn't a protected directory, and I can't see any special attributes set on the folder that indicate anything special about it.

@tthoma24
Copy link
Author

tthoma24 commented Jul 4, 2020

I opened a case with Apple Support, and Engineering and DevSupport are going to get back to me on this

@sdondley
Copy link

Hear anything back?

@rockkoca
Copy link

Not just this. Any changes to the ulimit and ssh configuration also got reset after each update.

This is a "feature" of macos! 😔️

@obra
Copy link

obra commented Mar 7, 2022

https://developer.apple.com/forums/thread/14637?answerId=44637022#44637022
Previous reports are that blowing away local pam changes is considered a feature.

@henrik242
Copy link

Any changes to the ulimit and ssh configuration also got reset after each update.

That's such an awful feature, since it re-enables SSH password authentication on my home server on every update 😠

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

No branches or pull requests

7 participants