Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1146  / 1 Year ago, sun, january 8, 2023, 4:19:47

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?


More From » 12.04

 Answers
4

Login with a root account with sudo bash. You can also do this from a live CD.
Or you need to reboot and do issue a sudo bash with the 1st command (it looks like this bug only shows up after the 2nd time you use sudo).



sudo gedit /etc/pam.d/common-session-noninteractive


look for line 16(ish) and change



[default=1] 


to



[default=0]


Try a command with sudo and it should work as normal.



Source from launchpad


[#38976] Monday, January 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowstonnequ

Total Points: 279
Total Questions: 125
Total Answers: 123

Location: Finland
Member since Sun, Dec 5, 2021
2 Years ago
lowstonnequ questions
Wed, Oct 26, 22, 14:40, 2 Years ago
Tue, Feb 28, 23, 01:39, 1 Year ago
Wed, Dec 1, 21, 23:44, 2 Years ago
Thu, Apr 21, 22, 13:13, 2 Years ago
;