mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-03 18:27:01 +00:00
Merge pull request #6558 from bcat/1.2-maint
(docs) 1.2: Recommend umask for passphrase file perms
This commit is contained in:
commit
70e30dea4d
1 changed files with 1 additions and 2 deletions
|
@ -564,8 +564,7 @@ Using ``BORG_PASSCOMMAND`` with a properly permissioned file
|
|||
directory and use permissions to keep anyone else from reading it. For
|
||||
example, first create a key::
|
||||
|
||||
head -c 32 /dev/urandom | base64 -w 0 > ~/.borg-passphrase
|
||||
chmod 400 ~/.borg-passphrase
|
||||
(umask 0077; head -c 32 /dev/urandom | base64 -w 0 > ~/.borg-passphrase)
|
||||
|
||||
Then in an automated script one can put::
|
||||
|
||||
|
|
Loading…
Reference in a new issue