The officially official Devuan Forum!

You are not logged in.

#1 2024-05-04 21:18:46

zeitlos
Member
Registered: 2021-08-20
Posts: 17  

How to enter root password in bash script?

Instructions for adding a line to /etc/sudoers
"neohexane ALL=(ALL) NOPASSWD : /usr/bin/setpci"
Doesn't work for me. What am I doing wrong?

Offline

#2 2024-05-04 21:38:13

rolfie
Member
Registered: 2017-11-25
Posts: 1,169  

Re: How to enter root password in bash script?

username    ALL=(root)    NOPASSWD:    /usr/bin/setpci

Offline

Board footer