I get the root privilege when I type
su asks for the Password, which I type in, the terminal says
su: Authentication Failure
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Open Terminal By CTRL+ALT+T and Type :-
And Re-Enter your password. This command will have you change your current password.
You could just use sudo su
$ sudo su
or sudo -i / sudo -s
$ sudo -i $ sudo -s
Both work fine and will do everything .
Try to change the password of the
sudo and login
$ sudo passwd [sudo] password for dhamu: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
After changing the
sudo passwd you will be able to switch user via
$ su Password: root@askmetutorials:/etc#
You can just use
Then just enter your password to get root privilege.