How to fix su: Authentication failure

How to fix su: Authentication failure

Olubisi Idris Ayinde
ยทAug 27, 2021ยท

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Play 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