Manually copying a new password into a file could be helpful, however it does not ensure that a backup of the old one was taken.
To avoid this possible risk its necessary to control the flow of setting and updating passwords.
We should instead insert a password via command line / input field of the script as it could proceed to make a backup before writing to the file.
Manually copying a new password into a file could be helpful, however it does not ensure that a backup of the old one was taken.
To avoid this possible risk its necessary to control the flow of setting and updating passwords. We should instead insert a password via command line / input field of the script as it could proceed to make a backup before writing to the file.