Removing multiuser option via root for official devices and permanently

I managed to remove the multiuser option in the settings on unofficial builds via adb thanks to adb root (my kids exploit it…) by adding some lines to the build.prop. A big success for me!
Now I would like to do that on official devices which do not have adb root.
Do I need to install magisk for that or ist there a simpler way when its just about modifying the build.prop? And if I need to run Magisk (I never did) what do I need to set up there?
And when I remove Magisk then because I do not want to run a rooted device (theres so much warning against it!?), remains the build.prop modified?
And as understand it every OS update will rewrite the build.prop and make the procedure necessary again, is there a way to permanently change it?

Lots of questions, sorry!

Maybe thats to much at once, sorry :roll_eyes: :innocent:
Can somebody tell me if its possible to root a phone with an official build with Magisk, modify the build.prop and then remove Magisk again to have the phone appear as not rooted?
Does my question make sense?
Thanks!

I’ve asked the team for any input on how to remove multiuser. I think we should stay with the main goal being to restrict a secondary user from making another user account to keep this a bit focused.

But yes if there isn’t a way, then Magisk etc. would be possible, I just personally don’t have any deep rooting experience (or interest).

Thank you.
For me it would be about restricting the main user to make a secondary user already!

I checked with the developers, there isn’t a way to do it for user builds such as official iodé builds. Note that unofficial builds made with the LineageOS for microG build process (my builds, @petefoth 's builds, etc) are userdebug.

So if you kept the main profile for you as the “family admin account”, and your kids used the secondary profile would that prevent them from creating additional users? Sorry I am not that experienced with multiple profiles.