I just upgraded to Kubuntu 12.04 from 11.10.
Now when I use
sudo I almost always get:
sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed.
It makes the command fail.
What is up with that and how can I fix it?
Login with a root account with
look for line 16(ish) and change
Try a command with
This misbehavior is caused by a bug in "sudo" package. The above mentioned fix is unfortunately just a workaround that causes pam_denied to run so all authorizations fail and Cron jobs are no longer executed. Syslog for instance states:
A patched "sudo" package is available on the following PPA: https://launchpad.net/~intuitivenipple/+archive/ppa?field.series_filter=precise
However please note that despite TJ's reputation "sudo" is quite a sensitive package on our Ubuntu system and I advise against installing versions provided by non official Ubuntu or Debian parties.
In any case this bug is referenced by launchpad bug #927828 and triaged as "High importance". Thus a bugfix is likely to be released soon after LTS12.04 has been launched.