command for substituting user i.e. logging to a session as a different user.
su
which is short of "substitute user" or "super user", allows to become another user after entering their password. In Ubuntu, since the root account is disabled by default and instead is replaced by sudo
.
There are ways to enable the root account for its more common usage, through is not recommended. You can have the same functionality as su
using the sudo -i
command or sudo -u user -i
.