Can 39;t Remember Pc Password

0 views
Skip to first unread message

Ariel Wascom

unread,
Aug 5, 2024, 12:13:14 AM8/5/24
to singredthime
Thessh issue isn't specific to git. You can set up an ssh-agent so you only have to enter an ssh key password once. It will be remembered, safely stored in memory, until you log out. Github has a tutorial about setting up an ssh-agent.

Instead of cloning from [email protected]:username/my-repo.git you can clone from -repo.git. It's the http button on your project page. Then the git credential helper described in the github docs will work. You'll probably have to install it first, or use their Github app. This is all described in the Password Caching section of the Github on Windows setup guide.


In case you decide for a passphrase then you either have to type the passphrase each time you want to use your key (i.e. push, fetch, etc.) or you can use ssh-agent. In the last case you only have to type the passphrase once when adding you key to the agent. Afterwards the agent will do all authorization for you.


If you don't remember your email or username, go to password reset and enter possible email addresses you own. When you enter an email that's registered with Spotify, you get the message that the password reset email was sent.


By default the first user's account is an administrative account, so if the UI is prompting you for a password it's probably that person's user password. If the user doesn't remember their password you need to reset it. To do this you need to boot into recovery mode (see also offical docs: RecoveryMode).


Boot up the machine, and after the BIOS screen, hold down the left Shift key (note that for UEFI BIOS you might need press ESC instead). You will then be prompted by a menu that looks something like this:


There is concern about this being a security vulnerability. It is not. You need to have physical access to the machine to do this. If someone has physical access to your PC, they could do far worse than change a password. When it comes to physical access, the battle for security is lost. Be wary of who you let on your PC.


Even setting a root password will not be successful, as one can simply boot with init being /bin/sh and have full root access. Again, given physical access, anyone with computer knowledge can do ANYTHING to your computer.


If you have a dual-boot (Ubuntu is installed next to Windows, another Linux operating system, or Mac OS X; and you choose at boot time which operating system to boot into), the boot menu should appear without the need to hold down the shift key.


After you select recovery mode and wait for all the boot-up processes to finish, you'll be presented with a few options. In this case, you want the Drop to root shell prompt option so press the ᛎ Down arrow to get to that option, and then press Enter to select it.


You'll then be prompted for a new password. When you type the password you will get no visual response acknowledging your typing. Your password is still being accepted. Just type the password and hit Enter when you're done. You'll be prompted to retype the password. Do so and hit Enter again.


If recovery mode is disabled, the method I would use is booting to a Live CD or USB. It could be the media you installed from or just another Ubuntu ISO you've downloaded and burnt. The process is fairly simple.


If you have a single-boot (Ubuntu is the only operating system on your computer), to get the boot menu to show, you have to hold down the Shift key during bootup. From the boot menu, select recovery mode, which is usually the second boot option. After you select recovery mode and wait for all the boot-up processes to finish, you'll be presented with a few options. In this case, you want the Drop to root shell prompt option so press the Down arrow to get to that option, and then press Enter to select it.


Then I got the Recovery Menu - but when I chose Drop to Root Shell Prompt (bottom item) I was root but couldn't reset the password - because the disks were Read Only. Type exitand get back to the Recovery Menu


Then again to Drop to Root Shell Prompt and I'm root and can write - sopasswd usernamehad me enter the desired password twice - then exit to go back to Recovery MenuResume normal bootand everything worked fine with my new password! I'm the only account on this box, and my password works with sudo so I apparently have Administrative Privileges.


I was having the same problem with my password and I tried everyone's suggestions but none worked for me. So I tried some of my own and this is what worked for me... "Keep in mind I can NOT explain why it worked, all I know is it worked...


Note: (Here is the part I can't explain. After trying everything, and nothing working, I finally just started trying all the options here one at a time. When I tried the "grub Update grub boot loader" and then followed the rest of the steps all was well and password was reset.)


The password is the second group of characters after YOUR_USERNAME, between the two colons. You can replace this with a other password, for example, you could replace the existing password string (truncated for clarity):


If you do that however and happened to have used an encrypted /home directory for that username you are likely not to gain access to the files in your /home directory (and if you do then Ubuntu should be uninstalled...)


For me, on Ubuntu 16.04 VM installed in VirtualBox, when I boot into (with shift held before booting the VM) the root prompt, I always get Give root password for maintenance (or type Control-D to continue), finally I hit e at the GRUB menu with the newest recovery kernel selected in Advanced Options for Ubuntu


I haven't used my laptop in approx 2 years so I apparently forgot my password. (Thought I remembered it but it keeps telling me it is incorrect.) I do not have a "hint" set up. Since it is the initial log in there is no way to click on "forgot password". Is there any way to gain access to my laptop? This is an older laptop so it is not under warranty so I doubt HP is going to help me.


HP cannot recover or reset your password if it is lost or forgotten. HP strongly recommends creating a password reset disk to enable you to reset your password in case it is forgotten. If you do not have a password reset disk and you forget your password, you may be directed to perform a full recovery to original factory conditions and will lose any data that was not backed up to an external location.


There's no reason anymore to remember your passwords except for the 1 master password that gives access to your password manager. Most password managers can automatically fill in credentials in the browser which is a serious improvement in terms of user experience.


All software has vulnerabilities and can be hacked. But imagine your password manager account or the servers of a cloud based password manager vendor get hacked. That would be a horror scenario, right?


I'm not going through the details here but good password managers should encrypt your secrets on the client and never store your password and additional secret key(s) on their servers. There are a lot of misconceptions around password managers which I tried to debunk in this blog. People often don't trust a password manager but their current alternative might be a lot less secure.


Hi. I signed up with chess.com a while ago on my Android phone with Facebook but I have notice I somehow entered the wrong email and now I really can't remember my password which leads to a problem. To change my password I need my email which it says isn't registered and I can't get a password reminder because it sends it to the wrong email. My user name is tastyraspberry. How do I let the Admins know my real email?


Hi there - i have the same problem. I signed up years ago and just activated my paid membership + then was playing with the stats and logged myself out. I've tried every email I have ever had and according to chess.com none exist in the system. Can you help me fix this so I can use my paid account again (I had to create a new account just to post this message;(


Hello everyone! Completely new user here (new to PiHole and Raspberry Pi). I'm an idiot and it took a few attempts to get working, and I now can't remember the username I used. Please be gentle, I do remember a screen stating I should write down the details and I recognise it's totally my own fault that I only wrote down the passwords but not usernames. I have a working password for logging in via "192.168.x.x/admin/" web interface but when I connect via PuTTY or directly with a screen and keyboard it asks for the login and password. It's a bit chicken and egg, because if I can log in then I can reset/create accounts, but for the life of me I tried "admin", the name of the device I gave as the username etc and I'm stuck. I'd rather not totally start from scratch again since this is only prompted by an update being available but I can always chalk this down to a "learning opportunity".


I've not changed anything regarding the config of the RaspPi itself since getting it working (although "working" is subjective because I'm still getting youtube adverts and I'm constantly tweaking the ad/black/whitelists, but I don't think that would interfere with my own stupidity).


You use PuTTy to connect to the operating system command line.

The operating system has a username, but this was set before you install Pi-hole.

Try root, or your username, or pi (it depends on which Operating System you have installed).


With how many times I went through the installer I'm making an assumption that the login was left as whatever default and that the password I'm able to use correctly via 192.168.x.x/admin/ goes with that login. I basically have one password that works but need the operating system username at the command prompt so I can at least reset and put right my daft mistakes.

3a8082e126
Reply all
Reply to author
Forward
0 new messages