Skip to content

Commit da40234

Browse files
committed
coder user allowed to set pi passwd
1 parent 4294738 commit da40234

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

raspbian-addons/etc/sudoers

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# This file MUST be edited with the 'visudo' command as root.
3+
#
4+
# Please consider adding local content in /etc/sudoers.d/ instead of
5+
# directly modifying this file.
6+
#
7+
# See the man page for details on how to write a sudoers file.
8+
#
9+
Defaults env_reset
10+
Defaults mail_badpass
11+
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
12+
13+
# Host alias specification
14+
15+
# User alias specification
16+
17+
# Cmnd alias specification
18+
19+
# User privilege specification
20+
root ALL=(ALL:ALL) ALL
21+
22+
# Allow members of group sudo to execute any command
23+
%sudo ALL=(ALL:ALL) ALL
24+
25+
# See sudoers(5) for more information on "#include" directives:
26+
27+
#includedir /etc/sudoers.d
28+
pi ALL=(ALL) NOPASSWD: ALL
29+
30+
coder ALL= NOPASSWD: /home/coder/coder-dist/coder-base/sudo_scripts/setpipass

0 commit comments

Comments
 (0)