As per our discussion, I recommend looking at wtmp, either by calling "who -m" or the corresponding libc functions (getutent, etc, see "man wtmp").
-- sudo clean environment change broke update-manager ssh detection https://bugs.launchpad.net/bugs/301787 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
