Reset password root FreeBSD

  • booting inĀ  single user mode
  • remount / (root) file system in read and write mode

# mount -u /
# mount -a

  • ubah password kemudian restart

Untuk linux ubuntu dan debian :

  • booting recovery mode
  • drop to root shell prompt
  • remount root

mount -rw -o remount /

  • Ubah password
  • reboot