this post was submitted on 11 Aug 2023
104 points (95.6% liked)

Linux

48224 readers
911 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] NaibofTabr@infosec.pub 16 points 1 year ago (3 children)

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.ee 8 points 1 year ago (1 children)

That is a great advice. Thanks for the tip my man.

[–] tubbadu@lemmy.kde.social 10 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] MJRul3s@lemm.ee 3 points 1 year ago (1 children)

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 1 points 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

[–] jackpot@lemmy.ml 2 points 1 year ago (1 children)
[–] Bene7rddso@feddit.de 3 points 1 year ago

KVM/Qemu with Virt-Manager as GUI. There's also Virtualbox, but it's Oracle

[–] axzxc1236@lemmy.world 2 points 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.