Smart card–only authentication using user-based enforcement?
Hi,
I've got a Yubikey 5C and a "smartcard–only authentication using machine-based enforcement". Works like clockwork with the right .mobileconfig profile.
I also have an other user on my MacBoorAir (M1, 2020) which now, logically, should have to use the smardcard as well. The problem that occurred is that only user1 is asked for the smartcard and user2 has no way to be selected in the Sonoma loginscreen. Somehow that sounds as a good thing: having a smartcard in place doesn't allow you to access an other user's account. But ... is its machine based, both users should be able to use the same smartcard to access their user environment. I suspect the problem to be that if I install the .mobileconfig profile within one user account, I cannot install it in the other. I tested: the file works in both accounts separately so I can also make only user2 able to use the smartcard but Then user1 cannot access his account. Both users have the smartcard enabled.
I found this article from Apple on how to configure "smart card–only authentication using user-based enforcement". That would give me the possibility to exclude user2 from having to use the smartcard and can logon to their environment with a password.
Since I'm self-employed I don't have a development or ICT department at my disposal. I'm my own admin, webbuilder, accountant, assistant etc. Therefore my Mac has two user accounts: one private (with own Apple ID with family sync) and one work account (with own Apple ID) which has to be secured due to privacy sensitive information). I'm not a web developer though so help on this would be appreciated.
So finally my question: I suspect the coding for the user-based enforcement should be in the .mobileconfig file but I don't know where. Or how do I get both user accounts accessible with the use of one smartcard in Sonoma?
Thanx, Marjolijn