Difference Between su and sudo and How to Configure sudo in Linux

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Avishek Kumar

I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

18 Responses

  1. Mushthaq says:

    Hi friends,

    I have two user accounts. let test1 and test2. How can I switch to test2 from test1 without prompting password.
    :$su test2

    Any idea, please contact me at mushthaq089@gmail.com

    • Ravi Saive says:

      That’s not possible, because both are different users with different home directories, you must enter password to login to user account..

      • kannan says:

        What if the password is not set for neither of the users? It still prompting for password and what we have to give?

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 57,739
  2. 3,201
  3. 25,639

Enter your email to get latest Linux Howto's