Skip to content

Commit

Permalink
Add password-for-sudo to config
Browse files Browse the repository at this point in the history
That way "sudo somecommand" will require entering the user's
password again (another password entry for consecutive sudo
requests won't be needed in the same session for the next
15min or so).

Since OctoPi has always shipped with allowing reboot and such
without sudo, even before Raspbian switched over to allowing
that for EVERY command, no further action is needed to keep the
preconfigured system commands working.
  • Loading branch information
foosel committed Oct 23, 2017
1 parent af96716 commit 759e274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export DIST_NAME=OctoPi
export DIST_VERSION=0.15
export MODULES="base(raspicam, network, disable-services(octopi))"
export MODULES="base(raspicam, network, disable-services(octopi), password-for-sudo)"

0 comments on commit 759e274

Please sign in to comment.