File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1+ # Disable lecture by default
2+ # Defaults lecture = never
3+
4+ # members of group sudo can execute any command
5+ # %sudo ALL=(ALL) ALL
6+
7+ ## Uncomment to allow any user to run sudo if they know the password
8+ ## of the user they are running the command as (root by default).
9+ # Defaults targetpw # Ask for the password of the target user
10+ ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
11+
12+ fio ALL=(ALL:ALL) NOPASSWD: /usr/bin/set_cpu_freq
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ IMAGE_INSTALL:append:portenta-x8 = " openocd"
8989fakeroot do_populate_rootfs_add_custom_sudoers () {
9090 # Allow sudo group users to use sudo
9191 bbwarn Changing sudoers for arduino ootb !
92- install -m 0440 ${WORKDIR} /sudoers -arduino ${IMAGE_ROOTFS}${sysconfdir} /sudoers . d /51 -arduino
92+ install -m 0440 ${WORKDIR} /sudoers -arduino - lmp - base ${IMAGE_ROOTFS}${sysconfdir} /sudoers . d /51 -arduino
9393}
9494
9595IMAGE_PREPROCESS_COMMAND += "do_populate_rootfs_add_custom_sudoers; "
You can’t perform that action at this time.
0 commit comments