# The root password. /etc is read-only, so agent-setup writes the shadow file to /var and this # mounts it over /etc/shadow. [Unit] Description=Root password from /var ConditionPathExists=/var/lib/agent/etc/shadow RequiresMountsFor=/var [Mount] What=/var/lib/agent/etc/shadow Where=/etc/shadow Options=bind [Install] WantedBy=local-fs.target