Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

su vs sudo

This comparison card contrasts su and sudo. su is described as switches to another user. sudo Runs one command as root. The card pairs su with become a service user, and sudo with daily admin work.

su vs sudo: Switches to another user.; Runs one command as root.
su vs sudo · Download PNG
Read card text

What this card says

Access

su

Switches to another user.

sudo

Runs one command as root.

Key points

Needs the target password.

Uses your password, logged.

Example

su - kavita

Use when

Become a service user.

Daily admin work.

See all AWS revision cards