answersLogoWhite

0


Best Answer

This will depend on the distribution. Most Linux distributions allow you to assume root by simply entering "su", followed by your password. Ubuntu-based distributions disable the root account by default, and you are expected to use the "sudo" command before any command that requires root privileges (ie. sudo rm -rf /). You can gain a root shell by entering "sudo su", followed by your password.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What command must an ordinary user type into a terminal window in order to become root?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a terminal emulator inside a graphical user interface called?

A terminal emulator inside a graphical user interface is often called a terminal window. A terminal window allows access to a text terminal and its applications, for example the command line interface.


How do you change your password on Ubuntu?

There is a GUI tool that you can use, or try the 'passwd' command in a terminal window.


How do you download package apache2 and install using dpkg?

The command (to be run in a terminal window) is: sudo apt-get install apache2


How can I know exactly what my private ip address is?

If you are using windows open a "terminal" window and type in the command "ipconfig all"


Which command-line command will start performance monitor?

To start the System Monitor from the terminal or run window, you can type "gnome-system-monitor" (without quotation marks, of course).


How do you recover data from Command prompt?

The command prompt is a terminal window, and allows the user to control their computer using specific commands. Command line recovery tools include ddrescue and the ntfs* family of tools.


How do you run Linux commands on terminal?

You just type the commands in and press Enter - very much like Microsoft's Powershell and Command Prompt, or macOS's Terminal window (which itself runs on Bash)


What is terminal window?

A terminal window is a text only window in a GUI. GUI stands for graphical user interface and this is what emulates a console.


Which command is used to clear the command window of Matlab?

The "clc" command is used to clear the command window in Matlab.


What is the command to clear the command window screen?

In a windows command prompt the command is "cls" (no quotes) and in Linux and Mac OS X terminal the command in "clear" (again no quotes) though you will notice that in the Terminal program (under X windows or Mac OS X) the clear command doesn't do anything except make space and scroll down so you can't see what has been done recently but that history is still available by scrolling up...


What is command window in matlab?

command window is a window in matlab environment, role of command window is that it shows output of some particular programme other than graph.


How do you delete file without moving in to trash in mac systems?

To do it from a command line: Open a Terminal window and use the unix "rm" command. To do it with a GUI: Download and install the muCommander program (very similar to Windows Explorer, but for the Mac).