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
  • 1
  • 2
  • 5

2 Answers2

22

To enter type sudo -i.

To exit from super user mode type exit.

terdon
  • 100,812
Vlad Tarniceru
  • 1,759
  • 1
  • 15
  • 24
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
  • 3,927