Posted on 09-05-2019 12:54 PM
I can get the profiles that exist to show with the command: sudo /usr/bin/profiles -P, but I can't remove one of the profiles 'cause it says "No such file or directory".
24nlockwood:Users nlockwood24$ sudo /usr/bin/profiles -P
Password:
_computerlevel[1] attribute: profileIdentifier: com.filewave.profile
_computerlevel[2] attribute: profileIdentifier: Dphan-PC.7b3ffa1f-0b7a-4001-8f0b-e0331f4bd1de.Configuration.7b3ffa1f-0b7a-4001-8f0b-e0331f4bd1de
There are 2 configuration profiles installed
24nlockwood:Users nlockwood24$ rm Dphan-PC.7b3ffa1f-0b7a-4001-8f0b-e0331f4bd1de.Configuration.7b3ffa1f-0b7a-4001-8f0b-e0331f4bd1de
rm: Dphan-PC.7b3ffa1f-0b7a-4001-8f0b-e0331f4bd1de.Configuration.7b3ffa1f-0b7a-4001-8f0b-e0331f4bd1de: No such file or directory
I figure this should be obvious, but I can't get it to work. Thanks.
Posted on 09-06-2019 02:31 AM
Someone with similar issue created a thread about this. Do these commands work at all?
https://www.jamf.com/jamf-nation/discussions/7096/removing-configuration-profiles-via-command-line
Posted on 09-06-2019 06:40 AM
You can't remove a configuration profile by using 'rm'... it will have to be via the profiles command try 'man profiles' to see valid args