Sudo offers the superuser privilege to the administrator user who running it and requires the administrator password. While, su allows the current login user (not the administrator user) have the root user privilege and asks for the current user’s password.