os_authenticated_root_enable is need to supress the errors #39

Closed
opened 2026-01-19 18:29:00 +00:00 by michael · 2 comments
Owner

Originally created by @mani2care on GitHub.

> os_authenticated_root_enable is need to supress the errors as i running below via policy its showing with error but the results is expected 1.
> 
> my case keep on failing on the device but when i checked its showing the results is 1 only that i observed that need to suppress the errors.
> 
> 
> Running command result_value=$(/usr/libexec/mdmclient QuerySecurityInfo \| /usr/bin/grep -c "AuthenticatedRootVolumeEnabled = 1;") ; echo "result is : $result_value"...
> --
> Result of command:[ERROR] Unable to target 'local user' via XPC when running as daemon result is : 1


Originally created by @mani2care on GitHub. ``` > os_authenticated_root_enable is need to supress the errors as i running below via policy its showing with error but the results is expected 1. > > my case keep on failing on the device but when i checked its showing the results is 1 only that i observed that need to suppress the errors. > > > Running command result_value=$(/usr/libexec/mdmclient QuerySecurityInfo \| /usr/bin/grep -c "AuthenticatedRootVolumeEnabled = 1;") ; echo "result is : $result_value"... > -- > Result of command:[ERROR] Unable to target 'local user' via XPC when running as daemon result is : 1 ```
Author
Owner

@mani2care commented on GitHub:

Image

when i use this commend its successfully running without error but when i use the above getting with error.

requesting you to review the commend and suppress the error notifications

@mani2care commented on GitHub: <img width="628" height="200" alt="Image" src="https://github.com/user-attachments/assets/78fd7504-e805-4fa0-a595-633615c88bcb" /> when i use this commend its successfully running without error but when i use the above getting with error. requesting you to review the commend and suppress the error notifications
Author
Owner

@robertgendler commented on GitHub:

Updated with stderr redirect

@robertgendler commented on GitHub: Updated with stderr redirect
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: usnistgov/macos_security#39