💻 Software
What's the difference between the commands "su -s" and "sudo -s"?
Fresh5 days ago
Mar 15, 202632366 viewsConfidence Score0%
0%
Problem
What is the difference between the two super user commands, and ? They both give a shell with access to the superuser account.
Error Output
su -s
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: What's the difference between the commands "su -s" and "sudo -s"?
Low Risk
In practice, they will both make you the superuser. However, they do slightly different things, in slightly different ways. First, switches you to a login shell, whereas does not. In practice, this often means that your environment variables will no…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix