Questions tagged [password]

Use this tag for questions related to passwords on any of the device's compatible operating systems. Depending on the distribution, the default password will change. (See the full tag wiki for a list of default passwords.)

Filter by
Sorted by
Tagged with
4 votes
2 answers
2k views

How do I reset the lost password of a Pi 4 running Ubuntu server?

I would like to reset the password of my raspberry pi 4 4gb running Ubuntu server 20.04, most tutorials involve adding init=/bin/sh to cmdline.txt, however when I do this I get a kernel panic. Roughly ...
user avatar
0 votes
0 answers
20 views

Can't SSH on Fresh Install of Raspberry Pi OS lite [duplicate]

this is my first question ever so sorry if I don't follow proper procedure with how I phrase everything. Anyway, I'm trying to set up my raspberry pi for the first time, but am unable to connect to it ...
user avatar
  • 1
0 votes
0 answers
35 views

How to edit the /etc/shadow file in the SD card from another computer?

I have a Raspberry Pi for which I forgot the password. I want to do this to get access. So I removed the SD card and now have it in another machine (running Ubuntu). I can navigate to /media/...
user avatar
0 votes
2 answers
42 views

Changed /etc/passwd, now I can't log in, what's the best way to recover it (headless)?

I made the mistake of changing of the pi user name string to something else (e.g. foo) in /etc/passwd. I did not change the home directory. Now when I try to log in via ssh to the new user, sshd ...
user avatar
  • 109
0 votes
1 answer
59 views

Permission Denied on SSH, but can VNC with same credentials

I have a raspberry pi on my network and have ssh'd into for over a year now nearly on a daily basis. I have VNC setup as well which I use about once a week. Suddenly today I can no longer SSH in. I ...
user avatar
-1 votes
2 answers
61 views

Can't log in through ssh after running "sudo passwd -d pi"

I'm running Raspbian Buster Lite on a board that I normally only access over SSH. The default login is pi/raspberry. I wanted to clear the password for convenience so I logged in and ran "sudo ...
user avatar
  • 1
0 votes
3 answers
107 views

How do I recover or reset a forgotten password

Running a pi 4 with raspian. I dont have a password fro removing or installing software. How do I reset it without having to delete everything and start again?
user avatar
0 votes
0 answers
66 views

Raspberry Pi wiping PW after reboot

So I recently invested in a raspberry pi 400 running up to date raspberry pi os. After numerous reboots whilst tinkering and setting up ssh/ vnc i followed the systems warning to change the default ...
user avatar
0 votes
2 answers
647 views

Headless Raspberry Pi 4 Password Reset?

I have a raspberry pi 4 that I haven't used in a little bit, and I've forgotten the password. I know it's running raspbian lite, no idea which version. I'd really hate to wipe it, there were many ...
user avatar
2 votes
1 answer
169 views

Wrong password creating on first boot (cloud-init) (Ubuntu 20.04 server, RPI 4)

I try create preinstalled user for Ubuntu 20.04. For this i add some entries in accordance with official docs, to /etc/cloud/cloud.cfg (config for cloud-init ) Old: users: - default My: users: ...
user avatar
1 vote
2 answers
244 views

Disable Single User Mode

If I forget my password to my Raspberry Pi, I can gain access again by using single user mode (here is an alternative link). The upside is that if I don't know my password, I can gain access. The ...
user avatar
-1 votes
1 answer
69 views

How to restore /bin/sh

Sup yall, I was trying to fix GUI login or restore password issue on Raspberry Pi 4. There are so many topics and several solutions to solve a problem where you're stuck into a loop asking for a ...
user avatar
  • 1
-1 votes
1 answer
66 views

unable to establish connection via ssh [closed]

I'm not able to connect to my raspberry pi via ssh likely after wrong password. What can I do to remove the administrator ban? Here is what it prompts: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
user avatar
  • 1
0 votes
1 answer
258 views

New Password not Being Accepted

My new password is being rejected at first use. Following previous threads I used the init=/bin/sh to the cmdline file. On bootup I receive message "job control turned off." The ending of ...
user avatar
  • 1
0 votes
1 answer
226 views

NetworkManager on Ubuntu Mate keeps asking the password

We recently changed the router and set up the devices and everything worked fine. Except there is my raspberry pi 3 which cannot connect to the new router. It doesn’t show any errors but it simply ...
user avatar
-1 votes
2 answers
5k views

Reset root password Pi4 Raspian

A newbie error I made when changing /etc/X11/Xsession.d/99qt5ct stopped my Pi4 booting without a PW. Which of course I have forgotten/lost! From what I could find searching, most of the info on ...
user avatar
0 votes
0 answers
227 views

using passlib with argon2 gives MissingBackendError

Installed passlib on my Windows 10 pc to study how to store passwords To use passlib with argon2 I installed that argon2-cffi too just as it shows in the passlib documentation Runs fine on my laptop, ...
user avatar
0 votes
1 answer
343 views

Writing code to access agile octopus rest API in python 3 on a raspberry pi

Octopus give an example of the command needed to access their API: curl -u "sk_live_************************:" "https://api.octopus.energy/v1/products/AGILE-18-02-21/electricity-tariffs/E-1R-AGILE-18-...
user avatar
0 votes
1 answer
164 views

ssh Permission denied // RPi 3 Model A+ macOS Mojave

I'm trying to access my RPi 3 Model A+ from my mac (Mojave) through ssh. They're both connected to a 5GHz wifi. From the mac terminal, I type the RPi ip address, then the default password raspberry , ...
user avatar
  • 15
2 votes
1 answer
459 views

Raspbian Password Change Not Working

I'm using Raspbian Buster and I'm using my Raspberry Pi headlessly. After I log in to SSH when I use a new OS image, I always change the password from the default one. I use sudo passwd to change the ...
user avatar
  • 302
0 votes
0 answers
363 views

Problems with init=bin/sh working

I followed the below instructions. Putting the init at the end of the sole line in cmdline. boot=UUID=2311-4211 disk=UUID=69a6af94-e21a-450d-bf5e-fcc08d992566 init=/bin/sh I return sd card to pi and ...
user avatar
  • 1
2 votes
3 answers
2k views

Ubuntu core ask for password when using ssh keys

Can someone tell my what is wrong when I try to login into my raspberry with SSH: Debug info: I have followed this guide ubuntu guide for ubuntu core and for ubuntu ssh keys. Can see on google that ...
user avatar
  • 31
1 vote
2 answers
3k views

Using a pi as a wireless access point with bridge - incorrect password

I'm trying to set up my raspberry pi 3 running a fresh install of raspbian buster as a wireless access point with a bridge to ethernet to give connected devices internet access. I followed the ...
user avatar
2 votes
1 answer
304 views

Mount network share on boot with hidden password

When I was trying to mount a network share on boot by adding the following line to the /etc/fstab file: //<server>/folder /home/pi/target cifs username=<username>,password=<password&...
user avatar
-1 votes
1 answer
124 views

How to hide secret information with .bash_profile

I have come across a video where for best practice one should put their login credentials in .bash_profile. However I can't seem to find this on the Raspberry Pi. And to retrieve this information one ...
user avatar
  • 131
3 votes
1 answer
2k views

Unable to reset password on Raspberry Pi (Raspbian Jessie)

I'm trying to follow the directions in https://howtoraspberrypi.com/recover-password-raspberry-pi/. (For future reference in case that tutorial disappears, here is the steps up to the point which I ...
user avatar
0 votes
0 answers
17 views

stumped on installation of Pi Light

I just installed pi light and NextCloud. I have a broadcom 1Tb toughdrive attatched through a mains powered USB unit. For some reason I cannot log in, it loads then asks for the username which i ...
user avatar
1 vote
3 answers
91 views

Entering long Wi-Fi password on commandline

I have Wi-Fi enabled but would prefer to paste in my Wi-Fi password rather than type it because it is very long. Can this be done and can I encrypt the password? I am running a dual boot and ...
user avatar
-1 votes
1 answer
857 views

Raspbian GUI keeps asking for password

As indicated in the title, I'm having some issues when booting my RPi (3b). More specificly, when loading the GUI desktop, it keeps asking me for my password. I give the correct one, it shows a black ...
user avatar
9 votes
2 answers
104k views

Forgot password for username pi [duplicate]

I need to authenticate so that I can use the VNC Server and Viewer and be able to access the Pi's screen from another computer. When I download the VNC Server I have to authenticate and enter a ...
user avatar
  • 165
0 votes
1 answer
133 views

Raspbian Password Security

I'm building a Raspberry pi Raspbian server and wanted to know how secure the passwords are, as I intend to forward the port. Is it possible to SSH into a machine without the password? Any input is ...
user avatar
0 votes
0 answers
142 views

change pi password on img before first boot, ssh [duplicate]

I want to be able to change the default pi:raspberry credentials on the image before first boot of a PiZero WH over the internet (phone hotspot, no home network). The default is a weak spot. I want to ...
user avatar
0 votes
0 answers
1k views

Password Manager for Raspberry (online AND offline access)

I'm searching for a good password manager. And yes, i know, google is full with tutorials for that kind of stuff. But all password managers i found, are only online usable. I need a solution where i ...
user avatar
  • 1
7 votes
0 answers
965 views

connmanctl having problem with complex passphrase

The built in WiFi module seems to work fine, as it can connect to both of my open networks I created for testing, i.e. the 2.4GHz, and the 5.0GHz ones. If I set a simple passphrase (i.e. contains ...
user avatar
0 votes
1 answer
75 views

remote multiple raspberry pi using ssh without password

I using for i in <ip1> <ip2> ... <ipn>; do ssh pi@$ip sudo halt; done to turn off multiple raspberry pi. But i don't want iput password one by one for a lot of raspberry pi. So ...
user avatar
0 votes
1 answer
4k views

Raspbian log in and password problem

What is the Raspbian login (word required first time) ask password: what password is required to enter? Because it asks for a password the keyboard stops working again tty question will appear for ...
user avatar
1 vote
2 answers
2k views

How to disable requiring a password for mount USB - Flash drive

I cant find the answer, How can I disable requiring password to mount Flash drive, Just plug USB and open folder without password.
user avatar
  • 11
1 vote
2 answers
96 views

Issues in removing password login Raspberry Pi 3 Model B V1.2

NOTE : I have referenced lot of websites and referenced stack overflow answers but its not working for me I have set up ssh login for my Raspberry Pi 3 Model B V1.2 and its working like a breeze. ...
user avatar
2 votes
3 answers
2k views

Changing pi user password - reverts to default following reboot

I have a Raspberry Pi running Jessie that I'm using as a notification gateway. If I SSH to it and change the user pi password, it appears to take and when I open a separate SSH session to it it ...
user avatar
1 vote
0 answers
719 views

Password Reset via init=/bin/sh Doesn't Work This Time

Previously I had to reset my password. I found an article on how to edit cmdline.txt and followed the directions and it worked. Later, I tried to install KODI on RP3 running Raspian Jessie. It ...
user avatar
1 vote
1 answer
536 views

Password resets on shutdown

First point I am completely new to the Raspberry Pi. Having purchased a Raspberry Pi with the NOOBS SD card, I completed the basic install and have access to the Pi. I wanted to have this accessible ...
user avatar
  • 11
0 votes
1 answer
695 views

From "SSH: Permission denied, please try again" to realizing my RPi is running a non-ending process

I am pretty new in this, and I am working on a home automation project where my Pi should be accessed from the outside world and some slave Arduinos should perform tasks like monitoring the ...
user avatar
  • 29
-1 votes
1 answer
2k views

pi's password is lost in every reboot

I am newbee at Pi3B. I installed Jessie at Pi3B board. Whenever I reboot the board, the pi's password was changed into unknown value. So, I delete pi's password encryption field from /etc/password ...
user avatar
  • 7
0 votes
2 answers
2k views

Password invalid after changing

I have recently bought a raspberry pi, and I have installed raspbian on it. I decided to change the default password, but after that every time I tried to login to ssh, it said permission denied. I ...
user avatar
  • 101
1 vote
0 answers
1k views

Password of user pi keeps changing

I have a Raspberry Pi which is only used to display a web page on a screen. The pi connects to the internet over Wifi. When I'm on the same wifi I used to connect to my pi through SSH or VNC viewer ...
user avatar
  • 111
1 vote
2 answers
26k views

How To Get Wifi Password With Connecting via ethernet cable

I just got the raspberry pi 3 and i wanna know if its possible to get the wifi password via connecting with a ethernet cable p.s. its noobs 2.4.2 p.p.s. sorry if its a dumb question i am a beginner
user avatar
1 vote
1 answer
8k views

I have forgotten my Windows 10 IoT password how can I reset it?

How can I recover Windows 10 IoT password for Raspberry Pi 3?
user avatar
0 votes
0 answers
265 views

Password managers on usb drives for raspberry pi 3

If I use a password manager to store all passwords including my password for the pi itself. Does any type of text file or folder get created and stored anywhere on the raspberrypi..or only on the usb ...
user avatar
  • 313
0 votes
1 answer
711 views

Password Changes Not Persisting After Shutdown or Logoff

If I change the password of user pi (rpi 3b, NOOBS, Raspbian Jessie), it takes affect only until shutting down or logging off. After shutting down or logging off, the new password is no longer current....
user avatar
  • 111
2 votes
0 answers
793 views

How do I set password prior to first boot?

I have a raspberry pi 3B v1.2 which I want to use as a headless server, downloaded a new version of raspbian jessie lite (2017-04-10), wrote it to the micro SD card, then created a new password with ...
user avatar
  • 151