add delete and switch user in ubuntu by command lines

First, I want to add a user in Ubuntu, Linux Mint, or any linux distribution. So how to do it?

To add user:

to add password for your user

How can i switch from one user to another one? In this example, i want to switch from one user to another one.

and type in your password to login

after that, you will be at a ‘$’ prompt. type:

to get to a normal prompt.

How can I delete a user?

How can I become root user or super user?



  1. pinadone says

    How to pass from sudo to normal user. I log by default as a root and I want to pass to normal user su pinadone change the user but still as a root.
    Well first I add useer with sudo adduser pinadone

Leave a Reply