summaryrefslogtreecommitdiffstats
path: root/network/80-container-vz.network
diff options
context:
space:
mode:
authorAdrian Vovk <adrianvovk@gmail.com>2024-03-07 19:38:26 +0100
committerAdrian Vovk <adrianvovk@gmail.com>2024-03-11 18:07:06 +0100
commit606a1f203c8871871bc8c5833d66ccbef870b010 (patch)
tree32abaea779e96a25949a4c8efa652ce3b1dac561 /network/80-container-vz.network
parentdata-fd-util: Fixup header (diff)
downloadsystemd-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