#!/bin/sh

# Clear the entry of days since 1970 that the passwd was last changed
# because there's no RTC support for this machine right now and SSH
# won't let you login otherwise.
sed -i 's/\(:[^:]*:\)[0-9]*/\1/' /target/etc/shadow
in-target chown root:shadow /etc/shadow || true

