If the user has sudo privileges, then you can directly run the following command:
sudo su root # Enter the current user's password passwd #enter password # Enter the password again
If the user has sudo privileges, then you can directly run the following command:
sudo su root # Enter the current user's password passwd #enter password # Enter the password again