I've been tweaking the command profiles quite sometime now but the -password parameter doesn't work. I've wanted to enroll machines using an MDM profile but it will require the user to input credentials via prompt which defeats our automation.

Additional: I can install Trust profiles from macOS server via terminal by simply executing `profiles -I -F but not the MDM.

1 Answer 1


i have tried to install the profile with root access. its getting install without password. but stuck at MDM profile which is very important. I have discuss with apple and they told me that you required DEP if you want automation.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .