Can't add user to archiso - Login incorrect.
I'm using archiso for the first time and just wanted to start basic by adding a non-root user. I repeated all the steps for adding a user and mostly copied what's in the wiki. I used openssl passwd -6 to generate a hash and put it in the /etc/shadow. After creating the ISO I booted into it in Qemu and was greeted by a login prompt. But when I try to log in using the created user archie all I get is "Login incorrect". What am I doing wrong?
I'm especially uncertain about the /etc/shadow because in the wiki there is a randomsalt added and I have no clue if that's necessary. Also the 14871:::::: is in a new line in the example and I also don't know if it's just a line break or intended and if it actually makes any difference.
Can someone please help me set this up correctly?
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- z02idd
3 comments
The password hash goes in between the first two colons
archie:password-hash:14871:::::: root::14871::::::
I followed this video along with the wiki when I created mine. The wiki could use some work in making some things clearer.
That's exactly what I did. I copied the examples from the wiki and simply replaced the password hash.
Have you tried with the root account? I was never able to get it to work with a regular user but with root it seemed to work for me