7

I typed the command in the Ubuntu console:

$ sudo mc

It returned me this:

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

And asks for a password. What is it? I just want to get root access to the console.

1 Answers1

9
  1. The message you got is the usual message displayed when you run "sudo" for a very first time on a given account. Consider it some kind of a warning, that you will be acting as root from now on, so you could damage the system if you make a mistake. It won't be displayed on subsequent invocations of "sudo".

  2. The password you have to type is the password of the user you are running "sudo" from.

raj
  • 10,353
  • 3
    NOTE: The password will not show up when you type, it'll show now response to you typing in your password, but I guarantee you the password is being entered. The lack of input response doesn't mean anything in this case. – Thomas Ward Mar 22 '22 at 16:19
  • displayed when you run "sudo" for a very first time on a given account In my case, the message was re-displayed when I upgraded sudo. – ynn Nov 19 '23 at 08:23
  • @ynn maybe upgrade removed the flag file indicating that the message has already been displayed. It shouldn't been so, as the file is in your home directory and upgrade shouldn't touch it. But a bug in upgrade script is always possible. – raj Nov 20 '23 at 13:45