quarta-feira, 25 de maio de 2011

Auto-login as root in Ubuntu/Debian

Warning: I hope you know what you doing, if something goes bad don’t blame me
  1. Unlock the root account:
  2. sudo passwd root
    sudo passwd -u root
  3. Open the session login file:
  4. sudo gedit /etc/gdm/custom.conf
  5. Edit the user fields to root and save.