Interrupt the boot process in order to gain access to a system

init=/bin/bash
/usr/sbin/load_policy -i
mount -o remount,rw /
passwd
touch ./autorelabel
/sbin/reboot -f