Maybe split system-auth and login procedures? That makes possible to make login-common (with additions like pam_loginuid) for login-like session using system-auth and other sessions using only system-auth.
Maybe split system-auth and login procedures? That makes possible to make login-common (with additions like pam_loginuid) for login-like session using system-auth and other sessions using only system-auth.