mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 14:56:29 +00:00
fix typo, add note about file permissions
This commit is contained in:
parent
7a0b4428e3
commit
bcd1e45ba7
@ -30,7 +30,7 @@ cause of this bug is not yet known.
|
|||||||
How can I specify encryption passwords automatically?
|
How can I specify encryption passwords automatically?
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
|
|
||||||
When you run ``restict create``, you need to enter the passphrase on
|
When you run ``restic backup``, you need to enter the passphrase on
|
||||||
the console. This is not very convenient for automated backups, so you
|
the console. This is not very convenient for automated backups, so you
|
||||||
can also provide the password through the ``--password-file`` option
|
can also provide the password through the ``--password-file`` option
|
||||||
or ``RESTIC_PASSWORD`` environment. A discussion is in progress over
|
or ``RESTIC_PASSWORD`` environment. A discussion is in progress over
|
||||||
@ -43,6 +43,9 @@ implementing unattended backups happens in :issue:`533`.
|
|||||||
directly and they will be readable to all users on a
|
directly and they will be readable to all users on a
|
||||||
system. Using export in a shell script file should be
|
system. Using export in a shell script file should be
|
||||||
safe, however, as the environment of a process is
|
safe, however, as the environment of a process is
|
||||||
`accessible only to that user`_.
|
`accessible only to that user`_. Please make sure that
|
||||||
|
the permissions on the files where the password is
|
||||||
|
eventually stored are safe (e.g. `0600` and owned by
|
||||||
|
root).
|
||||||
|
|
||||||
.. _accessible only to that user: https://security.stackexchange.com/questions/14000/environment-variable-accessibility-in-linux/14009#14009
|
.. _accessible only to that user: https://security.stackexchange.com/questions/14000/environment-variable-accessibility-in-linux/14009#14009
|
||||||
|
Loading…
Reference in New Issue
Block a user