0

Quite a while back i'd worked briefly on Red Hat, and it had this option of booting into root directly, and not using the su command to change your access. I know that by default the root account is disabled in Ubuntu and for all practical purposes is as good as non existent, but still suppose it is unlocked, can we log into root directly?

Ideas?

Projjol
  • 1,100

1 Answers1

0

The root account is not disabled, it is locked.

The preferred method is to use sudo, specifically sudo -i

See: https://help.ubuntu.com/community/RootSudo

You can run graphical applications with gksu, it needs to be installed on 13.04

sudo apt-get install gksu

You can always boot to a root shell by booting to recovery mode and dropping to a root shell.

You can ssh in as root using keys or by setting a password.

Panther
  • 102,067
  • Is there nothing similar to the recovery mode root shell option in the regular system? ie, can i start my machine as the root user and not as the default user then change to the root user? – Projjol May 13 '13 at 19:14
  • No, Ubuntu strongly discourages logging in a root and with sudo -i it really does not matter. sorry to say, but your method is "old school" and supported less and less, sudo is used more and more. – Panther May 13 '13 at 20:16
  • ok, i was just asking to see whether or not it there, thanks. – Projjol May 14 '13 at 07:15