Comment 2 for bug 1131718

Revision history for this message
Bryan Fullerton (fehwalker) wrote :

The "Users logged in" section of /etc/motd is updated on login pam_motd which calls /etc/update-motd.d/50-landscape-sysinfo (a symlink to the /usr/share/landscape/landscape-sysinfo.wrapper), which in turn runs /usr/bin/landscape-sysinfo.

Some things I have noticed playing with this... (not sure if this is documented anywhere, didn't see a man page)

- if the user doesn't have permissions to their home directory, running landscape-sysinfo will fail, because it requires creating a folder named ~/.landscape
- multiple logins of the same user are grouped together as one user
- the update of motd appears to be run before the current login is processed, so if user A is logged in and user B logs in, it will only see one user, but if user B logs in a second concurrent time it will see two users