

Starfighter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024
07:14 PM
- 533 Views
su or sudo - which one?????
I would like to collect differences between two commands that get a lot of use:
- su
- sudo
Share with me whatever you would like to about these two commands, that will
elevate my knowledge in their use functionality. By all means feel free to be
liberal with any examples!
Note: If you are a RHCA or RHCE, thank you for stopping by, but let's leave this
one to the others.
Trevor "Red Hat Evangelist" Chandler
1 Reply
deadin

Mission Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024
09:58 PM
- 484 Views
Hi Trevor,
I won't go into details as it can be read in manuals, but, those are two different commands.
su = switch user
sudo = super user do
It really depends what you need to do on the system. If you temporarily need to elevate your access, to lets say install a package on your server, then use sudo. On the other hand if you switch account to another user, use su.
Join the discussion
You must log in to join this conversation.