-
- Posts: 1
- Joined: Fri Nov 02, 2012 3:37 pm
password
I have forgotten my password. How do i sign in?
- tedhale
- Posts: 114
- Joined: Thu Sep 20, 2012 4:52 pm
- Location: Williamsburg, VA, USA
- Contact: Website
Re: password
Since the password files are in /etc they are only available once the second partition is loaded.
That is, they are not in /boot, so you can't see them when you load the SD card on a Windows system.
The way the I would fix it is to put the SD card into a Linux machine, mount the second partition, and edit the /etc/shadow file.
Delete the characters between the first and second colon for your username and then your password will be nothing.
This is probably a little tough for anyone not familiar with Linux, but then, those people wouldn't likely have a Linux system to do this with anyway.
Does anyone know of an easier way?
As a last resort, you can just re-image the SD card, but I assume you have stuff on it you don't want to lose.
That is, they are not in /boot, so you can't see them when you load the SD card on a Windows system.
The way the I would fix it is to put the SD card into a Linux machine, mount the second partition, and edit the /etc/shadow file.
Delete the characters between the first and second colon for your username and then your password will be nothing.
This is probably a little tough for anyone not familiar with Linux, but then, those people wouldn't likely have a Linux system to do this with anyway.
Does anyone know of an easier way?
As a last resort, you can just re-image the SD card, but I assume you have stuff on it you don't want to lose.
- Ted B. Hale
http://raspberrypihobbyist.blogspot.com
http://raspberrypihobbyist.blogspot.com
- RaTTuS
- Posts: 10748
- Joined: Tue Nov 29, 2011 11:12 am
- Location: North West UK
- Contact: Twitter YouTube
Re: password
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe