What is the difference between SU and SUDO? - ProProfs Discuss
Advertisement

What is the difference between SU and SUDO?

What is the difference between SU and SUDO?

Change Image    Delete

Asked by R. Barnes, Last updated: Nov 10, 2024

+ Answer
Request
Question menu
Vote up Vote down

4 Answers

P. Micah

P. Micah

P. Micah
P. Micah

Answered Oct 21, 2019

Su and Sudo are both used in Linux, but they have some differences that you should know to gain a better understanding of how each should be applied. These are used to gain root privileges. You will use “Su” when you would like to be the superuser.

Su and Sudo are both used in Linux, but they have some differences that you should know to gain a
This can be used to different user accounts that you please. For example, you can type in “Su Sue,” and you will be switched to Sue’s account. Sudo will require the password of the account, and when you input it, you will gain access to the account for about 15 minutes before you will be required to place the password again.

upvote downvote
Reply 

L. Gibson

L. Gibson

L. Gibson
L. Gibson, Science Professor

Answered Sep 17, 2019

SU and SUDO are different commands in Linux system. SU stands for “superuser” or “root user”. SU enables a user to switch user and also run a command under other user ID. To run the SU command, you need a root password to open up a root shell. After this is done, you now have access as the root user. Whatever you do during the session is acknowledge and run as root.

SU and SUDO are different commands in Linux system. SU stands for “superuser” or
SUDO stands for “Super User Do”. This command allows a user to run as root from the current user. To use SUDO, you will be required to use your password again for security purposes. The advantage of SUDO is that you do not have to change your identity to run root. The SUDO command does not require activation of the root shell. Hope you find this information helpful.

upvote downvote
Reply 

T. Wikati

T. Wikati

T. Wikati
T. Wikati, Technical Writer, New York

Answered Sep 04, 2019

Sudo and Su are terms that are used in Linux. SU means superuser. This will make sure that the Linux system is executed properly without the need to have any other additional options. The only requirement is that you have a password for this. SUDO will be able to run a single command with root permissions.

Sudo and Su are terms that are used in Linux. SU means superuser. This will make sure that the
If you are going to use this, you need to place your user account password and make sure that you will run it with root permissions. One thing to remember is that su will require you to share your password to other users while sudo will not activate the root shell. With these details, you can decide which one is the better option for you to use.

upvote downvote
Reply 

A. Cook

A. Cook

Find happiness in writing new things.

A. Cook
A. Cook, English Professor, M.A, Ph.D, Kentucky

Answered Sep 03, 2019

The terms SU and SUDO are often seen on Linux. They are used to run different commands with root permissions to do anything to the system. SU or Super User is where the user executes with no additional options where all you have to do is type in the root account’s password. You can also switch accounts as long as you know the password of the account you are switching in then you could enter it.

The terms SU and SUDO are often seen on Linux. They are used to run different commands with root
When you are done running commands, you should key in exit to leave the root shell. On the other hand, SUDO only runs in a single command with little root privileges. The system prompts you for the current user password before running commands. You can run commands for 15 minutes before Ubuntu will require you to type in again the password.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.