Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am on Debian 8 and I am searching for a command in debian to use root privilege without password. I am asking because I already saw it somewhere but can't find it anymore.
The command is sudo.
Add a line such as below into /etc/sudoers
sigis ALL=(ALL) NOPASSWD: ALL
This means user sigis can now run things like the command below without requiring password.
sudo shutdown -h now
From what I know it's
Required, but never shown