Let us go to the Terminal now.
Enter the command
“su space hyphen space duck” on the “Terminal”and press Enter.
You will be prompted for a password.
I shall type the user “duck's” password here please recall that it was “duck” itself.
Please notice that, the Terminal switches from the previous user to the new user, which is “duck” in our case.
To logout from this user, type
“logout” and hit Enter.
Now the terminal logs out from the current user “duck” and comes back to the previous user account, which is “vinhai” in our case.
