0

I am working on some security requirement specification on a macOS Mojave 10.14.6 laptop and in the specific they require me to make sure that the output from the following command line: /usr/bin/sudo /usr/bin/security authorizationdb read system.preferences | grep -A1 shared is set to <key>shared</key> <false/>

After I run the above command line I received the following output <key>shared</key> <true/> so what I did to fix it is:

/usr/bin/sudo /usr/bin/security authorizationdb read system.preferences > ~/Desktop/authdb.txt

I edit the file from:

<key>shared</key>
<true/>

To:

<key>shared</key>
<false/>

and I run the following command:

/usr/bin/sudo /usr/bin/security authorizationdb write system.preferences < ~/Desktop/authdb.txt

My question is what is the <key>shared</key> and what does it mean if I set to <true/> or <false/> ?

Where can I can understand more?

I was thinking some kind of identifications with mounting/attaching external peripherals, but I did with different USB Stick(s) before and after the change from to and I do not see any difference or no Warning Messages.

Thank you so much for your help.

  • Please modify your question to include the specific version of macOS that you are running. – Steve Chambers Feb 14 at 16:24

You must log in to answer this question.

Browse other questions tagged .