Passwdbyname
Passwdbyname is a term used in some Unix-like environments to describe a function or utility that retrieves a user account entry from the system password database by user name. In practice, it accepts a string that identifies a user (for example, a login name) and returns a structured record containing account fields such as the user name, user ID, group ID, real name (GECOS), home directory, and login shell.
On traditional Unix implementations, the record is typically read from the local passwd file (and, where present,
Because the information relates to user credentials, access may be restricted and publicly exposing password hashes