access your grub boot menu, should come up on reboot, find the default line and "e" to edit it, find the kernel line, add "single user mode" to that line(it's different per distribution), then once you boot(b) you can mount/change the password for the user and root. on completion reboot and garry's your uncle.
in your system their is a root account and user accounts. the root account is basically a system admin that do whatever it wants on the system, including change others password. it's a powerful account but for doing everyday computer things you should use a user account. i found a guide so you can reset you root password on ubuntu, and once your into your root account you can reset your user account password aswell.
This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.
This is most likely because:
Your post belongs in r/linuxquestions or r/linux4noobs
Your post belongs in r/linuxmemes
Your post is considered "fluff" - things like a Tux plushie or old Linux CDs are an example and, while they may be popular vote wise, they are not considered on topic
Your post is otherwise deemed not appropriate for the subreddit
Hold on, based on the other replies, you are very lost, you don't know what you have installed and you don't know your own username, from what I'm seeing you probably either broke the desktop environment or you just straight up searched "Linux os" and clicked on the first search result and installed what looks like a Desktopless OS that is usually used on servers, first take it easy, watch some tutorials like "how to daily drive linux" or "how to replace windows with linux", linux is not the "OS" it's the core of an OS that we call linux "distos", there a lot of distros, popular ones for beginners are Ubuntu and "linux mint", fun fact: android uses linux as its core.
Lol, it's like that sometimes... We all have to learn somewhere..
I suggest using a virtual machine to learn Linux; do you have a Windows pc or Mac to do this with?
Dry_Inspection_4583@reddit
access your grub boot menu, should come up on reboot, find the default line and "e" to edit it, find the kernel line, add "single user mode" to that line(it's different per distribution), then once you boot(b) you can mount/change the password for the user and root. on completion reboot and garry's your uncle.
Ha__es@reddit (OP)
Grub menj doesn‘t come. Or isn‘t it Shift while booting
abbidabbi@reddit
Posts like this is why the quality on reddit gets worse each and every day.
Great-TeacherOnizuka@reddit
Your 3rd point is so bad. How do you expect OP to take a screenshot, when he can’t even log in and is in tty??
4th is also bad. One can’t research if they have absolutely no idea where to begin with.
5th, same as 4.
6th, where did OP insult anyone here??
Because of people like you, no one wants to try linux.
abbidabbi@reddit
Look at this dude's post/comment history before replying...
Great-TeacherOnizuka@reddit
Who cares about post/comment history of someone?
He asked for help here (admittedly this isn’t the right place to ask bc of rule 1) and there was not a single rudeness here.
What do I care what he did in other posts, comments?
11111111111111111a11@reddit
use the boot media, chroot into the system, change password.
Ha__es@reddit (OP)
Means? I am not good with stuff like that
11111111111111111a11@reddit
which distro are you using?
Ha__es@reddit (OP)
Distro? Sorry that I‘m not good with that
11111111111111111a11@reddit
well you didnt just install 'linux'
you installed something like arch or ubuntu or fedora, this is a distro. typically it will be called "[distro name] linux", which one did you install?
Ha__es@reddit (OP)
Ubuntu, sorry
11111111111111111a11@reddit
in your system their is a root account and user accounts. the root account is basically a system admin that do whatever it wants on the system, including change others password. it's a powerful account but for doing everyday computer things you should use a user account. i found a guide so you can reset you root password on ubuntu, and once your into your root account you can reset your user account password aswell.
https://vitux.com/ubuntu-reset-root-password/
Ha__es@reddit (OP)
It svows how I can change it when I‘m logged in
11111111111111111a11@reddit
scroll down to the "reseting the root password" part
scaptal@reddit
It could be that you accidentally switched to a tty, try clicking control alt F1 or control alt f2, this might solve your issue
AutoModerator@reddit
This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.
This is most likely because:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Abdalnablse10@reddit
Hold on, based on the other replies, you are very lost, you don't know what you have installed and you don't know your own username, from what I'm seeing you probably either broke the desktop environment or you just straight up searched "Linux os" and clicked on the first search result and installed what looks like a Desktopless OS that is usually used on servers, first take it easy, watch some tutorials like "how to daily drive linux" or "how to replace windows with linux", linux is not the "OS" it's the core of an OS that we call linux "distos", there a lot of distros, popular ones for beginners are Ubuntu and "linux mint", fun fact: android uses linux as its core.
Great-TeacherOnizuka@reddit
Your username. Then password.
What distro is that?
Ha__es@reddit (OP)
Distro? I don‘t know my Username
Zwarakatranemia@reddit
Who installed this OS on your machine?
If it's not your machine contact your System Administrator.
Ha__es@reddit (OP)
I installed it
Great-TeacherOnizuka@reddit
Then how come you don’t know your username?
By distro I meant which "version" or "flavor" of linux you have installed?
Is it Linux Mint? Is it Ubuntu? …
Ha__es@reddit (OP)
Ubuntu, sorry. I installed it some time ago, and I always had to tell my password, not my username
Zwarakatranemia@reddit
Well...we usually use a username we never forget, like your name or something like that
maxim_1234567890@reddit
Do you know your password? If so, your root account (admin) might use the same password. Use root as user name and your password as password.
Ha__es@reddit (OP)
I know my password. I‘ll try. Thanks
mensamensaa@reddit
alt + F1
Ha__es@reddit (OP)
And then?
kidz94@reddit
Sorry bro, this is funny to me.
Ha__es@reddit (OP)
Why
Patricules@reddit
Lol, it's like that sometimes... We all have to learn somewhere.. I suggest using a virtual machine to learn Linux; do you have a Windows pc or Mac to do this with?
lawrence-X@reddit
Root password recovery
Ha__es@reddit (OP)
???
Due-Trouble3823@reddit
do some googling ya donkey
Ha__es@reddit (OP)
Stfu
lawrence-X@reddit
Google how it works . If i give you the commands you will won't understand what you type .
iceink@reddit
maybe clean ur room
Ha__es@reddit (OP)
It‘s clean
berkaykanlioglu@reddit
username: root password: "your password"
Patricules@reddit
Find a more user-friendly machine or learn Linux.
Ha__es@reddit (OP)
Ok😅
asp174@reddit
It's rather frustrating when your computer forgets your password, isn't it 😔
Ha__es@reddit (OP)
True😩