I think that was meant to be a reply to me, so I'll respond.
Technically, /etc/passwd
can have encrypted passwords in it, but as far as I'm aware, no distro has done that in decades, so realistically its not that risky. It does expose the user names though.
Can you share the lines from
/etc/passwd
for your user and the user your adding? Despite its name, there are no passwords here, that is in/etc/shadow
Edit: can you
su
to login as the user?/etc/passwd
: you may be able to get to this from the GUI file manager.If not, open a terminal and type:
cat /etc/passwd
. Copy the relevant lines.To test the login, from a terminal, type
su otheruser
, replace otheruser with the username from/etc/passwd
. It should ask for a password, put that in and it should log you in. Typewhoami
and make sure its the same username as you expected. Paste any errors here.