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
[–] curioushom@lemmy.one 2 points 1 year ago (1 children)

Are you trying the terminal commands with sudo? You could also try logging in as root user with the password you used during setup.

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

Yeah I already tried sudo root via terminal but when I entered the password It said I don't have permision to do that. I can't even change my password to something new in desktop. But I can try setup login once I'm back home.

[–] Zeppo@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago) (1 children)

sudo should only ask for your user password. What do you mean “sudo root”? Do you mean “su”? That would require the root password.

[–] SatanicNotMessianic@lemmy.ml 0 points 1 year ago (1 children)

It’s been a little while but he probably didn’t finish setting up sudo so there’s no sudo users file of approved users.

I would just try su.

[–] Zeppo@sh.itjust.works 1 points 1 year ago (1 children)

I’ve had to set it up manually. May depend on the distro, I suppose. su won’t work without the root password.

[–] SatanicNotMessianic@lemmy.ml 2 points 1 year ago (1 children)

When I’d set systems up, creating a password for the automatically created root account was one of the first steps in the process after setting up the basics. You could then set other accounts to have root privileges, or set up sudo to allow your personal account access via sudo, but even sudo acts as UID 0. If your setup didn’t do that, or if you set your account name up as UID 0, then you can always boot off of another source and mount the internal hd, right?

[–] Zeppo@sh.itjust.works 2 points 1 year ago

It's a matter of distro and the installation process. I must note, I installed Linux dozens of times from 1999-2012 and not as much since then. Back then, while of course one set the root password, it didn't ask about sudo privileges during installation of Debian, Ubuntu or Mandrake. And yes, that's true, you can always boot from a different installation (such as a Live CD) except it is more complex if it is an encrypted filesystem.

[–] Shikadi@beehaw.org 2 points 1 year ago (1 children)
[–] MJRul3s@lemm.ee 2 points 1 year ago (1 children)

Yeah man I tried. But I don't have permision even tho I entered the right password.

[–] curioushom@lemmy.one 2 points 1 year ago

You can reinstall the OS without overwriting your home partition or any other data partition. That's always an option.