The password is disabled as with Raspbian – to avoid risks with people using root for everything. However you are welcome to enable it if you really need it – just login as the pi user and do sudo passwd root to set a password for the root user.
It is a lot safer to use the pi account and just use sudo when you need to however.
You can also run a superuser shell by using sudo su. When running commands as a superuser there is nothing to protect against mistakes that could damage the system. It is like disabling the safety guards on a machine. It makes it easier to access the insides, but the risk of damage is far greater. It is recommended that you only run commands as the superuser when required and to exit a superuser shell when it is no longer needed.
I personally like to have root access for editing files in windows. It’s so easy to just right click and edit files via filezilla, with the added bonus that I get to use my preferred editor. Assuming you back up often, it’s not really that big of a risk. If you back up every time, there’s really no risk at all.
Necessary and Functional
These cookies are placed to make it possible to analyze this website (with Google Analytics) and optimize for the purpose of a.o. the usability.
Cookie names: _ga, _gat, _gid
These cookies are placed to show advertisements (of Google AdSense) and to get these close to your interest.
Cookie names: id, IDE, FLC, DSID, SNID, NID
These cookies are required to show the cookie notification bar, remember your cookie acceptance choice and apply this choice.
Cookie names: privacy_embeds, wpca_consent, woocommerce_cart_hash, woocommerce_items_in_cart, wp_woocommerce_session_, wp-settings-1, wp-settings-time-1