diff options
author | Adrian Vovk <adrianvovk@gmail.com> | 2024-03-07 19:38:26 +0100 |
---|---|---|
committer | Adrian Vovk <adrianvovk@gmail.com> | 2024-03-11 18:07:06 +0100 |
commit | 606a1f203c8871871bc8c5833d66ccbef870b010 (patch) | |
tree | 32abaea779e96a25949a4c8efa652ce3b1dac561 /network/80-container-vz.network | |
parent | data-fd-util: Fixup header (diff) | |
download | systemd-606a1f203c8871871bc8c5833d66ccbef870b010.tar.xz systemd-606a1f203c8871871bc8c5833d66ccbef870b010.zip |
homework-cifs: Pass password via fd
Pass the password into mount.cifs via a file descriptor, rather
than putting it into a plain-text file in /tmp. This uses the $PASSWD_FD
environment variable, which is undocumented but has existed since
forever (initial commit from 2010 [1] has it already)
[1]:
https://git.samba.org/?p=cifs-utils.git;a=blob;f=mount.cifs.c;hb=ce0b1609a9eedce6c5eb20eab287ea44217c0a6a#l1477
Diffstat (limited to 'network/80-container-vz.network')
0 files changed, 0 insertions, 0 deletions