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

Impressum

Thank you for taking the time to read my blog. Please consider sponsoring or buying me a coffee if you've read some of my articles and want to show your support.

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

Check out these other amazing blogs! ๐Ÿ”ฅ

Didi's Blog | Catalin's Tech | Daily Dev Tips | Greenroots Blog | Lo-Victoria | Marko Denic