You do need to have root privileges. EE needs to edit system files (Nginx) and restart services. As well as some other root only commands. You can use Sudo infront of every command or use sudo su to switch to a root shell.
Your not doing anything wrong, its as intended.