Skip to content

Instantly share code, notes, and snippets.

@szabo92
Created March 15, 2018 23:21
Show Gist options
  • Save szabo92/6005da87e5f021175c0805758fadba2b to your computer and use it in GitHub Desktop.
Save szabo92/6005da87e5f021175c0805758fadba2b to your computer and use it in GitHub Desktop.
su
# when `su` raises authentication error is probably because root password is not set
# you can login with your sudo enabled account and password
sudo su
# or you can set a password for root
sudo passwd root
# after that, you can do `su` and login with the password set before
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment