Sudo is a system command being embraced by a number of operating systems including Ubuntu and Mac OS X as a more secure way of providing root access. Ubuntu have created a wiki page discussing the benefits of sudo and exactly how it works. To execute root commands, you can either:
- prefix the privileged command you want to run with the command sudo - eg "sudo reboot" to reboot.
- Execute the command "sudo -i" to gain access to a standard root prompt.
Alternatively, if you really want to use the root account instead of sudo, execute the command "sudo passwd root" to set a password on the root account, after which you can utilise the root account as you normally would.
Comments