# dmesg | grep -A 8 ^CPU CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2392.56-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Family = 0x6 Model = 0xf Stepping = 11 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> AMD Features=0x20100800<SYSCALL,NX,LM> AMD Features2=0x1<LAHF> VT-x: HLT,PAUSE TSC: P-state invariant, performance statistics real memory = 3221225472 (3072 MB) # cat /etc/nsswitch.conf # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD: release/10.0.0/etc/nsswitch.conf 224765 2011-08-10 20:52:02Z dougb $ # #group: compat group: files ldap #group_compat: nis hosts: files dns networks: files #passwd: compat passwd: files ldap #passwd_compat: nis shells: files services: compat #services_compat: nis protocols: files rpc: files
ls -lwould segfault. This made me assume that it had something to do with /etc/nsswitch.conf. I used
cat >nsswitch.confto create a minimal /etc/nsswitch.conf :
passwd: files group: files
ls -lworked again. I still could not log in. I commented out Kerberos in /etc/pam.d/system and in /etc/pam.d/other after which I could log in again.
freebsd-update -IDSshowed that most files were not updated. Since it was a test system I decided to back up the configuration and install 10.1-RELEASE from scratch. I have not tried to run without /etc/nsswitch.conf.
Update: After rereading my post I realized that I did not mention that several commands still did work after my last change.
viworked after my change to /etc/nsswitch.conf. I could log in after my changes to the pam.d files but