The GECOS field is an 4-th entry in the /etc/passwd file on Unix, and similar operating systems. It is typically used to record general information about the account or its user(s) such as their real name and phone number.
Some early Unix systems at Bell Labs used GECOS machines for print spooling and various other services, so this field was added to carry information on a user's GECOS identity.
But that field may be missing if account does not contain a user information for some reasons, thesefore relying only GECOS field is not a good option. Maybe, py2pack can get username of account instead GECOS as a fallback? Another workaround is to provide field via --setopt command line argument (for example, --setopt user_name=qr243vbi)
The GECOS field is an 4-th entry in the /etc/passwd file on Unix, and similar operating systems. It is typically used to record general information about the account or its user(s) such as their real name and phone number.
Some early Unix systems at Bell Labs used GECOS machines for print spooling and various other services, so this field was added to carry information on a user's GECOS identity.
But that field may be missing if account does not contain a user information for some reasons, thesefore relying only GECOS field is not a good option. Maybe, py2pack can get username of account instead GECOS as a fallback? Another workaround is to provide field via --setopt command line argument (for example, --setopt user_name=qr243vbi)