[linux-pam] If the correct loginuid is set already, skip writing it.