PINE64
Reset Password Last Night, Now I can't login - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Reset Password Last Night, Now I can't login (/showthread.php?tid=12191)



Reset Password Last Night, Now I can't login - Phydoux - 11-17-2020

I reset the password to a word using sudo password and I used a word, not numbers. Now when I log into my phone, I see the number pad to enter the password but I just realized that the number pad doesn't have any letters on it. Is there a picture that shows where the letters would be? I tried looking at my Samsung phone but I still get a password Login error.


RE: Reset Password Last Night, Now I can't login - nightranger73 - 11-17-2020

You need ssh connection using wifi or serial cable to reset passwd


RE: Reset Password Last Night, Now I can't login - ak42 - 11-17-2020

(11-17-2020, 04:50 AM)Phydoux Wrote: I reset the password to a word using sudo password and I used a word, not numbers. Now when I log into my phone, I see the number pad to enter the password but I just realized that the number pad doesn't have any letters on it. Is there a picture that shows where the letters would be? I tried looking at my Samsung phone but I still get a password Login error.

it is not possible to use an alphanumeric password to log in phosh.
you'll have to change the password to digits again with ssh.

what I personaly do is use the manjaro user only for the graphical interface. when I ssh to the phone, I use another user with a strong password.
of course, a digit only password being easyier to bruteforce, you should not allow the manjaro user to login through ssh.


RE: Reset Password Last Night, Now I can't login - Phydoux - 11-17-2020

(11-17-2020, 07:20 AM)nightranger73 Wrote: You need ssh connection using wifi or serial cable to reset passwd
[quote pid='83602' dateline='1605619246']
How do I do this if I can't connect to the phone to get the IP address? It's connected to my HotSpot on my other cell phone. I just got the phone and was trying to get it ready before my sim card arrives.
[/quote]


RE: Reset Password Last Night, Now I can't login - ak42 - 11-17-2020

(11-17-2020, 06:38 PM)Phydoux Wrote:
(11-17-2020, 07:20 AM)nightranger73 Wrote: You need ssh connection using wifi or serial cable to reset passwd
[quote pid='83602' dateline='1605619246']
How do I do this if I can't connect to the phone to get the IP address? It's connected to my HotSpot on my other cell phone. I just got the phone and was trying to get it ready before my sim card arrives.


depending on your router, it may respond to manjaro-arm
Code:
ssh manjaro@manjaro-arm

otherwise, you can probably find its ip address on you router configuration page.
and in last resort, you can chroot with jumpdrive.


RE: Reset Password Last Night, Now I can't login - Phydoux - 11-23-2020

(11-17-2020, 07:06 PM)ak42 Wrote:
(11-17-2020, 06:38 PM)Phydoux Wrote:
(11-17-2020, 07:20 AM)nightranger73 Wrote: You need ssh connection using wifi or serial cable to reset passwd
[quote pid='83602' dateline='1605619246']
How do I do this if I can't connect to the phone to get the IP address? It's connected to my HotSpot on my other cell phone. I just got the phone and was trying to get it ready before my sim card arrives.


depending on your router, it may respond to manjaro-arm
Code:
ssh manjaro@manjaro-arm

otherwise, you can probably find its ip address on you router configuration page.
and in last resort, you can chroot with jumpdrive.

[/quote]
Looks like I'll have to go the chroot route. Can I use a regular Arch Linux USB stick to boot the phone or do I need the Manjaro-ARM for that? Also, do I just turn the phone on with it connected to the adapter with the USB drive in it or do I need to hold the volume button or anything like that? I tried doing an emergency boot by holding the volume up button and turning it on but it just booted regularly.


RE: Reset Password Last Night, Now I can't login - ak42 - 11-26-2020

(11-23-2020, 12:34 PM)Phydoux Wrote:
(11-17-2020, 07:06 PM)ak42 Wrote:
(11-17-2020, 06:38 PM)Phydoux Wrote:
(11-17-2020, 07:20 AM)nightranger73 Wrote: You need ssh connection using wifi or serial cable to reset passwd
[quote pid='83602' dateline='1605619246']
How do I do this if I can't connect to the phone to get the IP address? It's connected to my HotSpot on my other cell phone. I just got the phone and was trying to get it ready before my sim card arrives.


depending on your router, it may respond to manjaro-arm
Code:
ssh manjaro@manjaro-arm

otherwise, you can probably find its ip address on you router configuration page.
and in last resort, you can chroot with jumpdrive.

Looks like I'll have to go the chroot route. Can I use a regular Arch Linux USB stick to boot the phone or do I need the Manjaro-ARM for that? Also, do I just turn the phone on with it connected to the adapter with the USB drive in it or do I need to hold the volume button or anything like that? I tried doing an emergency boot by holding the volume up button and turning it on but it just booted regularly.


just flash an sdcard with jumpdrive, and boot it.
then, plug your phone on your computer, and you should be able to see both the emmc and the sdcard.
mount the manjaro partition, and chroot to it.
to check which partition is which, you can try to get the information with blkid.
LABEL should be ROOT_MNJRO

example:
Code:
sudo blkid /dev/mmcblk2p2
/dev/mmcblk2p2: LABEL="ROOT_MNJRO" UUID="d5cca115-e24b-4d0b-a397-47cf7f8cb4d1" BLOCK_SIZE="4096" TYPE="f2fs" PARTUUID="fb7df8c4-02"