In Linux, is working as su the same as working as root?
Fresh3 days ago
Mar 15, 20261668 viewsConfidence Score0%
0%
Problem
I thought that using su as a regular user made you root temporarily, but encountered an issue where I get "bash: usermod: command not found" when I try to perform a usermod with su, whereas the command definitely exists when I log in as root. Are super user and root different things? If so, what li…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: In Linux, is working as su the same as working as root?
Low Risk
There's no difference between "the super user" and "root". But the thing is, (which actually stands for "switch user", I believe) doesn't entirely emulate the environment you would get if you logged in directly as root. For instance, usually when yo…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix