#
✕ nick:kallisti
#asahi-alt · 2022-12-18 11:40
kallistiheading out. it's almost 4am here. I'll come back again and reach out then.
#asahi-alt · 2022-12-18 11:36
kallistimps_: looks like the password reset worked. Thank you kindly for all the help!
#asahi-alt · 2022-12-18 11:30
kallistibrb
#asahi-alt · 2022-12-18 11:30
kallistiright well time to give it a shot
#asahi-alt · 2022-12-18 11:30
kallistidon't think i had a root password set
#asahi-alt · 2022-12-18 11:30
kallistiI just tried to wipe my user account
#asahi-alt · 2022-12-18 11:28
kallistithanks for the help mps_ . I will give that a shot and come back and let you know if it worked.
#asahi-alt · 2022-12-18 11:27
kallistiwell guess i'm ready to write it and try to reboot and see if I can login
#asahi-alt · 2022-12-18 11:26
kallistiand some without either
#asahi-alt · 2022-12-18 11:26
kallistiLooks like some users are like usbmux:*
#asahi-alt · 2022-12-18 11:25
kallistiperhaps no login?
#asahi-alt · 2022-12-18 11:25
kallistiLooks like some users are like usbmux:!*
#asahi-alt · 2022-12-18 11:24
kallistiit's the asahi default -> arch linux arm
#asahi-alt · 2022-12-18 11:23
kallistiso if I wipe them out, then I will just be able to login without a password?
#asahi-alt · 2022-12-18 11:22
kallistiOk. Then I guess I'm just going to wipe out whatever looks like a hash. looks like there are two of them.
#asahi-alt · 2022-12-18 11:21
kallistiseems to be two of them
#asahi-alt · 2022-12-18 11:20
kallistils -halt /media/vdb/etc/shadow* -rw------- 1 root root 741 Dec 4 07:24 /media/vdb/etc/shadow -rw------- 1 root root 741 Dec 4 07:24 /media/vdb/etc/shadow-
#asahi-alt · 2022-12-18 11:18
kallisti? like edit /etc/passwd?
#asahi-alt · 2022-12-18 11:16
kallistiSo then I assume I actually need to chroot into the environment to change it
#asahi-alt · 2022-12-18 11:15
kallistiso I can't set the mount directory as root to change the password
#asahi-alt · 2022-12-18 11:15
kallistiyeah, it looks like it doesn't support the --root parameter
#asahi-alt · 2022-12-18 11:13
kallistiseems to have mounted
#asahi-alt · 2022-12-18 11:13
kallistiI mounted it manually
#asahi-alt · 2022-12-18 11:10
kallistiyeah it says mounted in dmesg or whatever but i don't see that via mount
#asahi-alt · 2022-12-18 11:09
kallistiyeah i am booted into it. Those are dmesg lines above
#asahi-alt · 2022-12-18 11:09
kallistiSo assume I just need to mount vdb and passwd --root MOUNT_POINT USER_NAME
#asahi-alt · 2022-12-18 11:07
kallisti[ 0.455711] EXT4-fs (vdb): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
#asahi-alt · 2022-12-18 11:06
kallisti[ 0.375889] virtio_blk virtio3: [vda] 105192 512-byte logical blocks (53.9 MB/51.4 MiB) [ 0.377398] vda: vda1 vda2 vda3 [ 0.378271] virtio_blk virtio4: [vdb] 959631360 512-byte logical blocks (491 GB/458 GiB)
#asahi-alt · 2022-12-18 11:02
kallisti*or hd1*
#asahi-alt · 2022-12-18 11:02
kallistiir gd1
#asahi-alt · 2022-12-18 11:02
kallistiwrong, I was looking in the wrong terminal. I don't see the /dev/disks* devices
#asahi-alt · 2022-12-18 11:00
kallistiThink I need to chroot the env
#asahi-alt · 2022-12-18 11:00
kallistiShould I just try mounting disk0s6?
#asahi-alt · 2022-12-18 10:59
kallistiI don't see it. But I do see /dev/disks*
#asahi-alt · 2022-12-18 10:58
kallistishould I see a device `hd1`?
#asahi-alt · 2022-12-18 10:58
kallisti -drive if=virtio,id=hd1,format=raw,file=/dev/disk0s6 \
#asahi-alt · 2022-12-18 10:57
kallistimps_: I am booted into the environment
#asahi-alt · 2022-12-18 10:51
kallistimps_: thanks. I will give it a shot. Should be under 5 minutes.
#asahi-alt · 2022-12-18 10:49
kallistiok