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.

11
  • 4
    This should be accepted answer, this solved my problem Commented Mar 18, 2018 at 18:19
  • I am getting "su: Cannot determine your user name." on doing su - Commented May 3, 2019 at 23:26
  • @user674669 have you checked this post: serverfault.com/questions/816969/… ? Commented May 6, 2019 at 6:45
  • Thanks @MaksimLuzik. Mine is a docker container. The ideas on that page aren' helpful to me. Maybe, I should post a separate question. Commented May 7, 2019 at 3:11
  • 3
    if you get the package not found error, run apt-get update first. and then apt-get install sudo. Commented Sep 4, 2020 at 21:34