It is in the OS... You cannot modify or delete system files even with SUDO.Rootless was rumored about a lot, but with the release there does not seem to be any additional information pertaining to it. Has anyone had any experience with it and what it is and how it works yet?
sudo nvram boot-args="rootless=0"
nvram -p
Rootless was rumored about a lot, but with the release there does not seem to be any additional information pertaining to it. Has anyone had any experience with it and what it is and how it works yet?
To add to the helpful reply by mag01...
I just tried to change the .kext' extension for a file in /System/Library/Extensions to '.disable'. By default, Rootless prevents me from doing this - either from Finder or from Terminal using sudo mv.
I turned off Rootless using sudo nvram boot-args="rootless=0" in Terminal and rebooted. I was now able to change the file extension from within Get Info in Finder.
Once I'd renamed it, I turned rootless back on with sudo nvram -d boot-args
To add to the helpful reply by mag01...
I just tried to change the .kext' extension for a file in /System/Library/Extensions to '.disable'. By default, Rootless prevents me from doing this - either from Finder or from Terminal using sudo mv.
I turned off Rootless using sudo nvram boot-args="rootless=0" in Terminal and rebooted. I was now able to change the file extension from within Get Info in Finder.
Once I'd renamed it, I turned rootless back on with sudo nvram -d boot-args
I wonder what will happen once you update your system. Since repair permissions is now part of the update procedure, among other things, it is possible that OS X either overwrites your changes or refuses to load.
diskutil repairPermissions /
Most likely nothing out of the ordinary. Worst case scenario you would just have to re-enable rootless from the recovery partition.
You can also still repair permissions with
Code:diskutil repairPermissions /
Just tried to disable rootless through the recovery partition and got this:Most likely nothing out of the ordinary. Worst case scenario you would just have to re-enable rootless from the recovery partition.
You can also still repair permissions with
Code:diskutil repairPermissions /
That did the trick for me, after adding the boot arg and restarting system files can be modified.To disable the rootless protection, use something likeAnd better check your current boot args viaCode:sudo nvram boot-args="rootless=0"
and then just add/modify the rootless argument.Code:nvram -p
The command for it is still there, but it's gone from the GUI.I read elsewhere that this diskutil command was gone, so it's still there? The next beta will probably reveal some more information about this new feature.
What did you modify in order to test it? I'm still unable to modify system files.That did the trick for me, after adding the boot arg and restarting system files can be modified.
The command for it is still there, but it's gone from the GUI.
diskutil is still there.I read elsewhere that this diskutil command was gone, so it's still there? The next beta will probably reveal some more information about this new feature.
sudo nvram -d boot-argsHow do you get rootless back after you've disabled it with
sudo nvram boot-args="kext-dev-mode=1 rootless=0"
Thanks!
Question: with Rootless, can TRIM enabler still function, as well as programs such as SMC Fan Control and f.lux?
As far as we know, it's designed to protect system files and folders from being deleted or modified even as root through Terminal. It can be disabled with a boot argument.I'm not on 10.11 but I am curious about rootless. I know apple is all about secrecy but having more info on this would be nice
It seems to, at least on the first beta.After inputing
sudo nvram boot-args="rootless=0", disk utility still shows rootless enabled. Is it going to show enabled regardless?
You need to reboot after you input the command to take effect.After inputing
sudo nvram boot-args="rootless=0", disk utility still shows rootless enabled. Is it going to show enabled regardless?