Sudo Doesn't Ask For Password

But I put sudo. It doesn’t ask for my password ??

sudo curl -s | bash

please run this as root

That means you are already running with elevated privileges. Your user is a root account, so don’t put sudo.

1 Like

Ohhh ok I’ll try

Also, sudo will remember the escalation privilege for (by default) 15 minutes. This means if you run sudo and type a password, then run sudo again, you won’t be asked for a password.

1 Like

Thank you both!!

Also, the reason you are getting that error is because you are running the curl as root instead of running the script as root.

Assuming the script is safe to run as root, try this:

curl -s
sudo bash ./