How to fix su: Authentication failure

How to fix su: Authentication failure


1 min read

It's already Friday, and I'm delighted ๐Ÿ˜‰ to see you here.

Another day of problem-solving, so we'll see how it goes.


su: Authentication failure

This issue is encountered when trying to su to root.


Use sudo to become root:

sudo -i

su fails with an authentication problem since the root account is blocked by default in Ubuntu, and there is no root password.

That's it ๐Ÿฅณ๐Ÿฅณ๐Ÿฅณ

I'd love to connect with you at Twitter | LinkedIn | GitHub

See you next Friday in DevOpsFriday series. Take care!!!