← Back
Editing: start_aldav
#!/bin/bash # The ALDAV_USERS environment variable, set by alproxy, contains WebDAV # credentials. It contains sensitive data so we don't want to have it readable # from /proc/<pid>/environ, but unfortunately unsetting the variable is not # enough as it doesn't remove it from /proc/<pid>/environ. # # The only solution is to create a new process without the variable, which # is what this wrapper script does. CONFIG=${ALDAV_USERS} unset ALDAV_USERS exec /usr/bin/aldav <<< "${CONFIG}"
Save File
Cancel