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
    link
    fedilink
    English
    161 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.

      • tubbadu
        link
        10
        edit-2
        1 year ago

        Also setting up a periodic snapshot with tools like timeshift can save your life

        • @MJRul3s@lemm.eeOP
          link
          fedilink
          31 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
            11 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
      21 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.