/usr/lib/ubiquity/target-config/60edubuntu-epoptes is in edubuntu-live 14.04.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/sh
if [ -f /target/var/lib/dpkg/info/epoptes.postinst ]; then
# Generate new keys
rm -f /target/etc/epoptes/*
chroot /target /var/lib/dpkg/info/epoptes.postinst configure
# Add user to epoptes group
username=$(chroot /target getent passwd 1000 | cut -d: -f1)
if [ -n "$username" ]; then
chroot /target/ adduser $username epoptes
fi
fi
|