Skip to content

Commit

Permalink
Give boxcutter admin rights to GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Sep 26, 2024
1 parent 85d08a5 commit 8964315
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cookbooks/boxcutter_ubuntu_desktop/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,25 @@
'action' => :add,
}

%w{
adm
cdrom
sudo
dip
plugdev
lpadmin
sambashare
audio
video
render
gdm
weston-launch
i2c
gpio
}.each do |group|
node.default['fb_users']['groups'][group]['members'] << 'boxcutter'
end

node.default['fb_sudo']['users']['boxcutter']['admin'] =
'ALL=(ALL:ALL) NOPASSWD: ALL'

Expand Down

0 comments on commit 8964315

Please sign in to comment.