users not found in /etc/passwd
Solution 1:
That is because the users database is stored elsewhere, for example an LDAP.
Use getent passwd $USER
to resolve your user.
Make sure you read nsswitch.conf(5)
with command man nsswitch.conf
to understand how and where can be users (and some other) databases stored.