Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Is this your personal machine or does someone else administer it? Can you see the contents of /etc/sudoers? If so, edit your question and add the output of sudo grep -w su /etc/sudoers. Also edit and add your distribution. Commented Dec 2, 2015 at 14:01
  • 1
    Relevant: Is there ever a good reason to run sudo su? Commented Dec 2, 2015 at 14:02
  • 1
    sudo -l will be helpful, it will show what commands you're allowed to execute even if you can't read /etc/sudoers and /etc/sudoers.d. Commented Dec 2, 2015 at 14:04