TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: RICHARD LEWIS
from: CHRIS ELVIDGE
date: 2019-02-07 13:47:00
subject: Re: Recover password

On 06/02/2019 18:33, Richard Lewis wrote:
> I have a RaspberryPI with Raspbian I can ssh to it as I previously swapped
> keys, I can even run sudo without having to enter a password.
>
> But I have forgotten what the password is, given my current level of
> privileges is it possible to somehow recover the pw?
>
> TIA,
> RenMas
>

ssh into it. Are you root? No?
sudo su -
You're now root!
passwd
to reset the root password
passwd username
to reset the password for username


--

Chris Elvidge, England

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.