Riny Qian wrote:
> 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.

pkgchk -f  might help you.  If it doesn't then restore from backup.

-- 
Darren J Moffat

Reply via email to