Skip to content

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?

1 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
z02idd

Author

89
posts
196
comments
15
media
View profile

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.

1 points

That's exactly what I did. I copied the examples from the wiki and simply replaced the password hash.

2 points

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

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.