# Cant login to web admin or via SSH

**URL:** <https://community.allstarlink.org/t/cant-login-to-web-admin-or-via-ssh/21259>\
**Category:** Archive\
**Tags:** asl3\
**Created:** [July 1, 2024, 3:09pm UTC](https://community.allstarlink.org/t/cant-login-to-web-admin-or-via-ssh/21259 "2024-07-01T15:09:04Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![M7DHQ](https://community.allstarlink.org/user_avatar/community.allstarlink.org/m7dhq/32/3032_2.png) [@M7DHQ](https://community.allstarlink.org/u/M7DHQ)\
**Post date:** [July 3, 2024, 2:55pm UTC](https://community.allstarlink.org/t/cant-login-to-web-admin-or-via-ssh/21259/11 "2024-07-03T14:55:40Z")

</div>

So after some digging other people have found the same issue, it seems that when the imager creates the hashed password in `firstrun.sh` the hash does not match the password. I found solutions on stack exchange as well as pi-hole github.

Running this command creates the correct hash `echo 'asl' | openssl passwd -6 -stdin`

```auto
➜ ~ echo 'asl' | openssl passwd -6 -stdin
$6$tfXWw2djNCKdlyGZ$6q4fKZ7dxWrM1Ubl4aeZ.3izxcum0JC1PgbOA7vPVug/FgVWyeEnGWGXCCr7BDc73BwIcXN6bWNxUNQYEYbsR0

```

Then I just replace the hash in `firstrun.sh` in the two places it occurs, boot for first time and im able to log in!

I dont know whether its a macos issue, python version issue or just something random.  
One thing I did confirm is that even the default pi install had the same issue, so the issue is the imager, not with asl3.

Hopefully this will help the next person who stumbles on this bug.

---

_[View the full topic](https://community.allstarlink.org/t/cant-login-to-web-admin-or-via-ssh/21259)._
