After chmod'ing -R 777 /etc/ by accident, the system refuses to login, and complains about the wrong permission on /etc/pam.conf.
chmod 777 would remove setuid, setgid and the sticky bit from all files. How to recover from it quickly? Tried to chmod back /etc/pam.conf to 644 via booting from a CD, but it still didn't work. This message posted from opensolaris.org