Hi guys,
I insert some PAM stacks in the /etc/pam.d/other in 10.10. like this
auth sufficient pam_xxxx.so
Then I upgrade to EI Capitan beta 1, I just found my pam configuration files are been restore to original.
Same for other system pam configuration files, like login, sshd, sudo...
Can anybody tell me if this is a bug or not ?
It don't quite make sense for me, so any app that need to modify PAM would break after upgrade ?
Hi again,
/etc (including pam.d of course) is protected by SIP by default.
The following folders all are (you can see for youself: /System/Library/Sandbox/rootless.conf)
/Applications/[All OS X Component Apps]
/Applications/Utilities/[All OS X Component Utility Apps]
/System
/System/Library/Caches
/System/Library/CoreServices
/System/Library/CoreServices/Photo Library Migration Utility.app
/System/Library/CoreServices/RawCamera.bundle
/System/Library/Extensions
/System/Library/Extensions/
/System/Library/LaunchDaemons/com.apple.UpdateSettings.plist
/System/Library/Speech
/System/Library/User Template
/bin
/private/var/db/dyld
/sbin
/usr
/usr/libexec/cups
/usr/local
/usr/share/man
/etc
/tmp
/var
Therefore the logic of reseting /etc/pam.d in case of it having been compromised holds. Rootless is precisely designed to restrict the power of root - for the reasons described in my first reply.
I hope this helps to clarify things.
Max.