š» Software
What does "sudo -s" actually do?
Fresh6 days ago
Mar 15, 202667384 viewsConfidence Score0%
0%
Problem
I am using ubuntu 10.04. I notice that after I run in terminal: The prompt changed from: to: Seems it changed to root privilege. But when I check the documentation of command here, it explains another story of , can anyone explain to me what is doing exactly?
Error Output
sudo -s
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix ā Awaiting Verification
Fix for: What does "sudo -s" actually do?
Low Risk
The two aren't really inconsistent - the command always changes user, either to root, or to the user you specify with the switch. All the does is provide a shortcut for starting a shell as that user. It is really equivalent to: except that it will lā¦
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix