mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-08 06:28:23 +01:00
add swaylock to sudo
This commit is contained in:
parent
a44cf639b6
commit
07a057d7b3
@ -4,6 +4,6 @@ do_install:append() {
|
||||
# allow sudo group to power off/reboot system without password
|
||||
cat << EOF >> ${D}/${sysconfdir}/sudoers
|
||||
## sudo user group is allowed to execute halt and reboot
|
||||
%sudo ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
|
||||
%sudo ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff, /usr/bin/swaylock
|
||||
EOF
|
||||
}
|
Loading…
Reference in New Issue
Block a user