answersLogoWhite

0


Best Answer

There is no command specific to SSH. Whether you are physically using the machine in question or using an SSH client the process is the same. On Ubuntu, one is encouraged not to use the root account directly. To execute a command as root, enter sudo . On distros that don't include sudo, you can gain a root shell by entering the command su root. Both commands will require you to enter either your admin password or the root password, respectively.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the command to obtain root permission in Linux for SSH?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you obtain root permissions in Linux?

su (will change user to root)sudo command (will run command as root)


What is menning sudo command in Linux?

sudo will run a command with root privileges


How do you run a command with root previlage on Linux?

Either login as the root user or type: sudo then the command you wish to run.


What does the sudo command do in linux?

When u put sudo before a command in terminal the command run with root privileges


How do you Locate the Linux root partition?

The root directory is indicated by a "/'. You can navigate to the root directory using the command 'cd /'.


How do you execute an Apache program in Linux?

Enter this command as root: "apachectl start"


What command change the permission r rx x of file shokeenda in Linux?

chmod but only if you are root, or logged in as the user and group shown when you do ls -l shokeenda See man chmod for its usage


To move to the root directory use the command?

For Unix/Linux, use the command 'cd /' For Windows, you can also use the same command or 'cd \'


Can you recover a root password in Linux?

No, none of the passwords used in a Linux system can be "recovered" because there isn't a reverse encryption for it. However, you can "reset" the root password by using the single-user mode at boot time (which puts you in the root account automatically) and then changing at that time.


Command used to go from User Mode to Privileged Mode is?

For Unix/Linux, use either the 'sudo' command or 'su' to the root account.


What command in Linux do you use to return to the root directory?

"cd /" will move the user to the root directory, assuming the user has permission to move to this directory, and the user has not been chroot'ed to a specific directory (which will cause "cd /" to move the user to that named directory, instead of the system's root).


What is the command to turn off Linux?

Virtually all Linux distributions will accept the "halt" command. Some also have a shutdown command, though this has additional parameters and is meant mainly to shut down the system at a certain time.