On Wed, 8 Aug 2012 13:24:17 +0000 Marcello Varisco <[email protected]> wrote:
> > Hi all, > > By incident I removed the pam.d directory containing all pam modules > from command line. Is there a way to recover the removed directory? > any help is appreciated since I can't login to my computer without > live cd anymore. Unless you have some amazing recovery tools to had (most people don't) you can't easily recover those files. pam.d isn't put there by a single package, everything that uses pam is liable to write it's own custom file there. You can regain your ability to log in by remerging these packages: sys-apps/shadow sys-auth/pambase To do that, you will need to boot off a livecd and chroot. Then a reboot should see you fine. Then you could rememrge everything that has pam in USE and hope this is enough. Or, you could restore from backups. You *do* have backups of /etc, right? -- Alan McKinnon [email protected]

