HD Install :: how to enable remote ssh login on frugal



Hi Mickshaw,

i am experiencing something unusual. as advised i did a backup of only the /etc/shadow file
by editing .filetool.lst and removing everything in it as i only want /etc/shadow.
so the .filetool.lst has only one entry

/etc/shadow

then i backup onto the usb drive. i get the backup.tar.gz. i check back it has only /etc/shadow
when i reboot without the ethernet LAN connection the /etc/shadow is restored on bootup correctly
from the backup.tar.gz on the usb drive.

but when i connect to the LAN with ethernet and reboot the /etc/shadow goes back to the original
and even strange it overwrites the backup.tar.gz on the usb drive with all the original .filetool.lst entries. and as i said earlier i am starting ssh on bootup and need to connect to it

remotely.

thanks a lot.

Well.....
coffee is still on its way down the gullet, so I'm not fully understanding your situation, but I'm going to guess that it comes from removing EVERYTHING except /etc/shadow. The backup/restore system itself needs some specific files to remain persistent in order to work. In your case, you will at least need
opt/.backup_device

Another possible problem is that you might be running with a previous backup that is restoring /home/dsl/.filetool.lst and other files in home, which is overwriting your persistent home files.  If this is the case, delete your old backup.tar.gz, make the changes to /home/dsl/.filetool.lst, make sure you have the proper partition specified to backup, and then do the backup.

Hi Mikshaw,

thanks man, putting etc/shadow and opt/.backup_device did the trick for me. with every little step i am getting more energized to do more. you guys are a great community.
i would contribute all i can to this.

thanks again.

Hi Mikshaw,

i need to add something man. to get the password persistence to work i had to add the .filetool.lst and .xfiletool.lst files also besides opt/.backup_device.
just some info for you.

thanks

I'm not sure why, since earlier you said you use "home=sda1". This would remove the need to include anything from /home/dsl in your backup.
Next Page...
original here.