ERROR new installation on Denian Buster: Script called with non-root privileges

I'm trying to build a new installation and I'm facing this problem.

galotzas@raspberrypi:~ $ sudo curl -sSL https://install.pi-hole.net | bash
[sudo] password for galotzas: 
stty: 'standard input': Inappropriate ioctl for device

  [✗] Root user check
  [i] Script called with non-root privileges
      The Pi-hole requires elevated privileges to install and run
      Please check the installer for any concerns regarding this requirement
      Make sure to download this script from a trusted source

  [✓] Sudo utility check
stty: 'standard input': Inappropriate ioctl for device

I do not understand....

The command that you are typing calls curl with sudo, this doesn't really do anything. You need to call bash with sudo with the piped in script from curl if that is your goal. curl -sSL https://install.pi-hole.net | sudo bash

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.