Evil Ubuntu Samba bug
20/11/08 Filed in: Linux
Apparently there is an evil bug in the Samba implementation of Ubuntu Server that can cause segmentation faults on all logon attempts. This will affect email, ssh, secured web logins and console logins.
The only way to get back into the system is to physically reboot the machine and choose Recovery Mode as the boot option. Then choose the menu item “drop into root shell”. Now you are root on the machine. Finally issue the command “dpkg --purge libpam-smbpass” and then after a reboot you should be able to login correctly.
One quick check to be sure this is the problem is to do all of the above except the dpkg command. As root you can go check out your logs. Try “tail /var/log/syslog” and see if you see a bunch of libpam-smbpass segfaults or “error 4 in pam_smbpass.so” messages. At least it is a quick fix if you are on site.
The only way to get back into the system is to physically reboot the machine and choose Recovery Mode as the boot option. Then choose the menu item “drop into root shell”. Now you are root on the machine. Finally issue the command “dpkg --purge libpam-smbpass” and then after a reboot you should be able to login correctly.
One quick check to be sure this is the problem is to do all of the above except the dpkg command. As root you can go check out your logs. Try “tail /var/log/syslog” and see if you see a bunch of libpam-smbpass segfaults or “error 4 in pam_smbpass.so” messages. At least it is a quick fix if you are on site.
0 Comments