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?

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
Mr. White
  • 193
  • 1
  • 2
  • 5

2 Answers2

22

To enter type sudo -i.

To exit from super user mode type exit.

terdon
  • 98,183
  • 15
  • 197
  • 293
Vlad Tarniceru
  • 1,759
  • 1
  • 15
  • 24
11

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,807
  • 1
  • 11
  • 19