You run grep $(whoami) /etc/passwd but the output is empty. What might be a possible reason for that?
Answer
The user you are using isn't defined locally but originates from services like LDAP.
You can verify with: getent passwd
The user you are using isn't defined locally but originates from services like LDAP.
You can verify with: getent passwd