Debian: how to create a user with root privileges (sudo)

Solution 1:

Sudo is the best way, because you can limit users to only being able to run a few commands

Giving a user rights to run everything is easy, add a line like this to /etc/sudoers:

fred ALL=(ALL) ALL

You can also limit fred to only certain stuff: fred ALL = /usr/local/restart_www

Solution 2:

http://www.debianadmin.com/providing-root-privileges-for-users-using-sudo.html