9

I am trying to use the su/sudo command to switch to a regular user. It asks me for a password and I enter the admin password then it says su: Authentication failure:

walter@walter-VirtualBox:~/testdir$ su
Password: 
su: Authentication failure
walter@walter-VirtualBox:~/testdir$

How can I switch to my regular user? What is the problem?

Mr. White
  • 193

2 Answers2

22

To enter type sudo -i.

To exit from super user mode type exit.

terdon
  • 104,119
12

You can switch to a different regular user by using the command su.

Example: su John Then put in the password for John and you'll be switched to the user 'John' in the terminal.

Paul Tanzini
  • 4,087