How can we change root password in Linux?
In Linux, root privileges refer to a user account that has full access to all the files, application and the system functionalities. There are two ways we can reset the password:  For resetting password as sudo user:  We can follow below steps:  Navigate to terminal in window and we can write below command   $ sudo passwd root  System will prompt to enter the same password that we use for login to system.  Next, we get prompt for the new password.  We need to enter the new password in prompt and also re-enter it on retype password prompt to verify the same.  In case, we are resetting password as root user:  We can login to terminal using below command:  $ su root  We will be asked to provide the password to which we need to enter current root password.   Once entered as root user, we can type following command to change password   $passwd