The problem: Each time I try to execute the sudo command, and type the correct password, it rejects the password.

I am at the end of my rope with internet searches, I’m close to just wiping and trying an operating system reinstall.

I am new to linux and I recently installed ubuntu 22.04.3. I haven’t been able to access the sudo command since the install. I’m currently attempting to install firewalld, but I’m going to need this command for other things as well and I’m starting to wonder if there is something wrong with my install or worse.

Many of the troubleshooting techniques I’ve come across contain a catch 22 in that they require the sudo command to solve this, which I am unable to execute.

  • display_name1@lemmy.worldOP
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    So if I boot into recovery mode, and it does end up asking me for a password again, does that imply a bad actor has changed my root password? If that’s the case, will a fresh install solve my problem?

    I’m very new to linux so I’m not really sure what best practices you should follow after an install. Should you immediately change your root password and install a firewall, first steps taken?