mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
The group has access, not the user.
This commit is contained in:
parent
e3c640eae0
commit
227d33ba78
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ cp /opt/wrolpi/50x.html /var/www/50x.html
|
|||
grep wrolpi /etc/passwd || useradd -md /home/wrolpi wrolpi -s "$(command -v bash)"
|
||||
chown -R wrolpi:wrolpi /opt/wrolpi
|
||||
|
||||
# Give WROLPi user a few privileged commands via sudo without password.
|
||||
# Give WROLPi group a few privileged commands via sudo without password.
|
||||
cat > /etc/sudoers.d/90-wrolpi << 'EOF'
|
||||
%wrolpi ALL=(ALL) NOPASSWD:/usr/bin/nmcli,/usr/bin/cpufreq-set
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue