On Аўт, 07 сту 2025, mvogt1--- via FreeIPA-users wrote:
Interesting:- executing the script, when I login from the console does not have this getpwnam error.(unexpected) The script behaves fine! The "users" command does not list the E-Mail, but the normal login name. ("users" shows, when used with gdm, the long but truncated E-Mail) ==> Very interesting difference / result.
I would not expect to have a full email as a user name any time soon. Linux systems have user names limited by the structure of 'utmp' database. In most distributions it is 31 characters (C string requires '\0' character to end the string, hence ut_user field in utmp is 32 characters long). See these references for some details: https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_29.html#SEC614 https://github.com/systemd/systemd/issues/11801#issuecomment-466418248 -- / Alexander Bokovoy Sr. Principal Software Engineer Security / Identity Management Engineering Red Hat Limited, Finland -- _______________________________________________ FreeIPA-users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
