On Tue, Nov 07, 2006 at 03:53:56PM +0100, Carlos Ojea wrote: > >What about your /etc/ backup from _this_ computer? Use mc, enter the > >tar file you made before this happened, and copy necessary stuff back. > > My /etc/ backup? That is not made by the system and I should had done > that ... right? I am afraid I don't have that backup...
Take a look in /var/backups for copies of /etc/shadow and /etc/passwd at the least. But reinstalling packages that place files in /etc would be a good idea if you didn't have any other backup handy. Something like the following will show you package names that need to be reinstalled: for i in `grep -l ^/etc/ /var/lib/dpkg/info/*.list ` ; do file=${i/.list/}; echo `basename $file`; done (Probably neater solutions exist.) Once you've done that check these files at least before rebooting: fstab shadow group groups passwd inittab Steve --
signature.asc
Description: Digital signature