bambusoft / sentora-paranoid

This is a script for those who are very concerned about sentora project security (sentora.org) and want to enable basic security for sentora operational environment
http://sentora-paranoid.open-source.tk
GNU General Public License v3.0
4 stars 3 forks source link

[IDEA] Patch instead of replace #6

Open KaidenP opened 9 years ago

KaidenP commented 9 years ago

I noticed that your script just overwrites some of the existing config files, and I was thinking, wouldn't it be a good idea to patch the files, rather than replacing them?

This way, it will keep user changes to the config files.

Of course, I would test to see if there are user changes, and ask if you would like to attempt to patch it, or simply just replace it in case of configuration incompatibilities.

Is this a good idea?

bambusoft commented 9 years ago

Yes, it is a good idea for devolopment and testing purposes, but consider that the sentora & sentora-paranoid scripts are designed to install in a clean environment and be runned just once at the first time,..if you want to change it to use patch go ahead, but i do not know how many validations must be included to work properly