Linux

You run grep $(whoami) /etc/passwd but the output is empty. What might be a possible reason for that?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

The user you are using isn't defined locally but originates from services like LDAP.

You can verify with: getent passwd