I in the use of OSX system, often need to enable or disable the root account, modify the relevant configuration parameters or permissions, refer to the official document to enable and close root, still feel too many steps and appear complex, combined with the following methods, can quickly enable and close the Mac OSX root Super Administrator account:
1. Press "command" + "SPACEBAR" to search for "directory utility" such as:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/86/56/wKioL1e8QszCj25kAAA8Oe16Dcw649.png "title=" screen shot 2016-08-23 pm 8.33.52.png "alt=" Wkiol1e8qszcj25kaaa8oe16dcw649.png "/>
Open the Directory utility and click Unlock key in the lower left corner.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/86/57/wKiom1e8Q77BM_IBAACxRdVXLBA181.png "title=" screen shot 2016-08-23 pm 8.37.54.png "alt=" Wkiom1e8q77bm_ibaacxrdvxlba181.png "/>
2. Open the menu bar and edit the drop-down menu to enable root user.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/86/56/wKioL1e8RJDAudKbAAJcuRz41eE063.png "title=" screen shot 2016-08-23 pm 8.38.51.png "alt=" Wkiol1e8rjdaudkbaajcurz41ee063.png "/>
3. Enter and verify the password.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/86/57/wKiom1e8RQ_xncAyAAA6lkKxA80637.png "title=" screen shot 2016-08-23 pm 8.39.18.png "alt=" Wkiom1e8rq_xncayaaa6lkkxa80637.png "/>
4. Open the terminal to verify the following:
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/86/57/wKiom1e8Rb_hwDLrAAAucgJM8-0067.png "title=" screen shot 2016-08-23 pm 8.46.29.png "alt=" Wkiom1e8rb_hwdlraaaucgjm8-0067.png "/>
The root account is now enabled.
To close the root account, take the above 1-3 steps and click to close the root account.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/86/57/wKiom1e8Rt6ydpq0AAJcZPmgETU019.png "title=" screen shot 2016-08-23 pm 8.48.32.png "alt=" Wkiom1e8rt6ydpq0aajczpmgetu019.png "/>
Verify the following:
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/86/57/wKiom1e8SAKDN4SaAAA7ZoZc488515.png "title=" screen shot 2016-08-23 pm 8.56.07.png "alt=" Wkiom1e8sakdn4saaaa7zozc488515.png "/>
This article is from the "deep motto heart Sharp to take" blog, please be sure to keep this source http://canaan.blog.51cto.com/1971263/1841680
How to quickly enable and disable the Mac OSX root Super Administrator account