Comment 42 for bug 1240336

Revision history for this message
Magosányi Árpád (mag-magwas) wrote : Re: Not authorized to perform operation / Unable to determine the session we are in: No session for pid

This was the solution for me as well:
sudo pam-auth-update --force
Beware that it does change files in pam.d, so if you have a heavily customized pam configuration,
prepare to be able to track the changes done, and fix things afterward.