How to fix su: Authentication failure

How to fix su: Authentication failure

Subscribe to my newsletter and never miss my upcoming articles

Listen to this article

It's already Friday, and I'm delighted 😉 to see you here.

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

Issue

su: Authentication failure

This issue is encountered when trying to su to root.

Fix

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!!!

 
Share this