26
votes
Accepted
Change/reset password WITHOUT monitor/keyboard
The password isn't actually stored anywhere on the system, a one way hash of it is. This means even if you have the hash, you won't be able to deduce the password.
The hash itself is stored in /etc/...
19
votes
Raspbian root default password
Raspbian by default is configured so that the root account can't be logged into using a password. This is done by starting with an entry in /etc/password which begins:
root:x:0:0:
The fields are ...
19
votes
User and password
The username is "pi" and the password is "raspberry", you have misspelled the word "raspberry" by missing the p.
If you still have issues, I would try re-downloading, re-formatting, and doing it ...
14
votes
Default username/password for CentOS 7 on Raspberry Pi
Defaults are
Username: root
Password: centos
13
votes
What password to use to log in after the first boot?
Distribution | Username | Password
---------------|------------|-------------
Debian Squeeze | pi | raspberry
Arch | root | root
QtonPi | root | rootme
...
13
votes
Accepted
How do I reset the lost password of a Pi 4 running Ubuntu server?
I would put the sd card into another machine, mount the disk and edit the file /etc/shadow to remove the password; delete the characters between the first and second colons in the file. Save the file ...
12
votes
Forgot password for username pi
The hashed password is stored in /etc/shadow. There is no efficient way to find out what the password is, by design.
However, it is easy to reset as long as you have physical access. Start a Linux on ...
11
votes
How to change a password
Linux doesn't display anything when you type your password. no asterisks, no dots, no nothing.
After entering passwd on the command line and pressing enter type your password at the command prompt, ...
10
votes
Where is the wifi password stored on Raspbian?
If you are using normal settings on Raspbian it will be in /etc/wpa_supplicant/wpa_supplicant.conf. It is stored in plain text, but only root can see it - you will need sudo to access the file.
See ...
9
votes
How do I change/recover my password?
As Jamie Cox commented in one answer and what actually worked for my problem, you might want to change the password for the pi user, so type
sudo passwd pi
otherwise you are just changing the ...
9
votes
How to change a password
Do NOT type sudo passwd (unless you are trying to change the password of another user).
The command to change your password is passwd
8
votes
Raspbian root default password
To set a root password:
Boot up and login normally.
Run:sudo passwd root
Type in the new password for root as prompted
Source: https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=5056&...
8
votes
Accepted
I have just returned to my Raspberry Pi after a year and can't remember my login
As it turns out, you don't have to flash your RPi to recover from this. In fact, you don't need another Linux system at all, all you need is another SD card flashed with your RPi OS flavor of choice ...
6
votes
What password to use to log in after the first boot?
Beware if you are using a German keyboard: In this case you have to use pi / raspberrz
6
votes
Change/reset password WITHOUT monitor/keyboard
You don't have to create a temporary user on a different system to generate a password hash. You can do it without root access by running:
openssl passwd -salt "salt" "password"
...
5
votes
Accepted
How can you recover your password?
Unfortunately, as pointed out by goldilocks, you cannot get the text of your old password. You can, however, reset your password by booting directly into the root shell (assuming you have physical ...
5
votes
what is password with new installation
root user on Raspbian doesn't have a valid password at all. This is an intentional security measure which prevents someone from logging in as root to your board. Raspbian comes with a default pi user ...
5
votes
Accepted
Where can I find the /.ssh/known_hosts file on my rpi3?
That file is not on rpi 3 you are trying to connect to, but on the computer where you are trying to connect from (Ubuntu?). Just run
ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.1.234
...
4
votes
How can you recover your password?
You cannot because the password is not stored anywhere. Secure passwords systems use a one way hash algorithm. Such an algorithm will always produce the same output given the same input, but it is ...
4
votes
Raspbian root default password
Raspbian does NOT have a root password. It differs from Ubuntu in that respect. You can create a root password, but AFAIK that requires sudo.
The best bet is to edit the files by mounting the SD Card ...
4
votes
Protect my motion webcam stream with a password (motion.conf)
To setup a username and password with motion, you need to edit motion configuration file.
Steps
Open terminal
Type sudo nano /etc/motion/motion/conf
Add in a new line stream_auth_method 1
Add in a ...
4
votes
Accepted
Changing RetroPie SSH password
As RetroPie is built upon Raspbian most commands that work on Raspbian will work on RetroPie. So to change the password for the logged in user use the passwd command and follow the prompts. You ...
4
votes
I have forgotten my Windows 10 IoT password how can I reset it?
I also thought I forgot the password, but I found I never changed it. The default password is 'p@ssw0rd'. The key to remember is you have to include the machine name in the username field. For ...
4
votes
Accepted
Forgot password for username pi
to reset your password:
Power down and pull the SD card out from your Pi and put it into your computer.
Open the file 'cmdline.txt' and add 'init=/bin/sh' to the end. This will cause the machine to ...
4
votes
Accepted
Disable Single User Mode
Put the data you're trying to protect on a separate partition and encrypt it. Typical users will want to encrypt /home. You could also encrypt the root partition itself, though that will be more ...
3
votes
Protect my motion webcam stream with a password (motion.conf)
netcam_userpass is to connect motion to a webcam that is protected by a username and password. This can happen for instance, if you are running a webcam program on a cellphone and have set a username/...
3
votes
How do I change/recover my password?
I assume you have physical access to your SD.
Create new password: openssl passwd -6 -salt salt hello-world
You will receive something like: $6$salt$phlWRlSMVXZ1JJxGL/j5ANI....
3
votes
Accepted
How do I force SSH to use password, not rsa key?
In the article, one of the things mentioned is disabling password login:
PasswordAuthentication no
Commenting the line or changing the value to yes permits password login again.
3
votes
Accepted
System Calls From C Code
If you need to provide input for a command, you should do it via input substitution or pipes, like this:
system("echo 123456 | gpg --passphrase-fd 0 gpgTest.py.gpg");
system("gpg --passphrase-fd 0 ...
3
votes
Accepted
Why do I have 3 different pi users?
When you type sudo passwd you are running the passwd command as the root user, and you are therefore changing the password of the root user, not of the user pi. Only the third time, when you changed ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
password × 102ssh × 30
raspbian × 23
login × 10
pi-3 × 6
wifi × 6
boot × 6
security × 6
user × 6
pi-2 × 5
ubuntu × 5
reset × 5
vnc × 4
networking × 3
pi-4 × 3
raspbian-stretch × 3
raspbian-jessie × 3
headless × 3
raspberry-pi-os × 3
permissions × 3
root × 3
cmdline.txt × 3
python × 2
usb × 2
linux × 2