Name
getpwnam
Synopsis
$entry = getpwnam($username)
Returns an array of information about the user with the username
username
. The fields of the array are as follows:
Username
Password
UID
GID
GECOS (Full name and other optional information)
Home directory
Shell
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.