Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: garrulo74 on September 09, 2011, 05:52:14 PM

Title: Root changes lost every reboot
Post by: garrulo74 on September 09, 2011, 05:52:14 PM
Hello.
I running openssh without problem.. the only issue is that  all operations or changes done to openssh ( key generating,  config file...) is lost when  reboot. Seems to be the changes that requieres  root to be applied.  Changes made with normal user are ok.
Only  "normal user" ( tc) changes are added to  mydata.tgz file? How can i keep the changes done with root after a reboot?
thank you
Title: Re: Root changes lost every reboot
Post by: maro on September 09, 2011, 06:27:06 PM
The info file of 'openssh.tcz' mentions that configuration files are in '/usr/local/etc/ssh'.

So adding that directory (without the leading slash character) to '/opt/.filetool.lst' (e.g. via echo usr/local/etc/ssh >> /opt/.filetool.lst) should ensure that those files are included in the future. Just to be sure I'd always suggest to run a one-off backup (e.g. via filetool.sh -b).
Title: Re: Root changes lost every reboot
Post by: jur on September 09, 2011, 08:06:49 PM
For some things I also backup /. File explorers in root mode save settings there.
Title: Re: Root changes lost every reboot
Post by: garrulo74 on September 10, 2011, 05:56:41 PM
Adding ssh folder to filetool.lst works perfectly.
thank you very much.