Hey guys. I’m new to Linux and I’m running Linux Mint 21.2 Cinnamon. Yesterday I have f*cked up. I was testing things in users and geve myself standart priveledges insted of Admin ones I had from beggining and then restarted PC. I then tried log back into users tab and change myself back to Admin but even tho the password is correct It says that it is not. /So at this point there is only one user in PC who has standart privliedges and no Admin./ I then tried to access root via terminal and this time It said that I don’t have permision to do that. And this is where I’m at right now. Please help get back my admin privliedges.

Edit: Issue is fixed. I started GRUB and changed my password which fixed the whole issue. Once again big Thank you to everyone who gave me tips and also big thank you to the guy who started posting about rowing machines. You all wonderful.

  • NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    I will also offer some help…

    Next time you’re “testing things” set up a VM and test there. Don’t test things on your primary OS/place you can’t just wipe and start over.

        • MJRul3s@lemm.eeOP
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Already tried that yesterday and my last back up is three days old. But timeshift needs password and when I entered it. The Timeshoft said that I don’t have permision to open it.

          • Reborn2966@feddit.it
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            right it still require root privileges…

            well if you boot from a usb key and you have a btrfs file system, you could manually restore the snapshot. this would bypass the password

    • axzxc1236@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      If there is docker image for what you need, use docker image.

      If not I would recommend systemd-nspawn, it’s chroot but can run systemd init, with efforts you can run GUI applications from it too., wiping that is just sudo rm -rf.