diff --git a/os-brainux/override.sh b/os-brainux/override.sh index 89cd76b..402d19f 100755 --- a/os-brainux/override.sh +++ b/os-brainux/override.sh @@ -9,6 +9,7 @@ install -g root -o root -m 0644 $SRC/usr/lib/os-release $DST/usr/lib/os-release install -g root -o root -m 0644 $SRC/etc/issue $DST/etc/issue install -g root -o root -m 0644 $SRC/etc/issue.net $DST/etc/issue.net install -g root -o root -m 0644 $SRC/etc/motd $DST/etc/motd +install -g root -o root -m 0440 $SRC/etc/sudoers $DST/etc/sudoers install -g root -o root -m 0644 $SRC/etc/X11/xorg.conf $DST/etc/X11/xorg.conf install -g root -o root -m 0644 $SRC/etc/X11/Xsession.d/96calibrate $DST/etc/X11/Xsession.d/96calibrate diff --git a/os-brainux/override/etc/sudoers b/os-brainux/override/etc/sudoers new file mode 100644 index 0000000..3f5ae46 --- /dev/null +++ b/os-brainux/override/etc/sudoers @@ -0,0 +1,28 @@ +# +# This file MUST be edited with the 'visudo' command as root. +# +# Please consider adding local content in /etc/sudoers.d/ instead of +# directly modifying this file. +# +# See the man page for details on how to write a sudoers file. +# +Defaults env_reset,pwfeedback +Defaults mail_badpass +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + +# Host alias specification + +# User alias specification + +# Cmnd alias specification + +# User privilege specification +root ALL=(ALL:ALL) ALL +takumi ALL=(ALL:ALL) ALL + +# Allow members of group sudo to execute any command +%sudo ALL=(ALL:ALL) ALL + +# See sudoers(5) for more information on "#include" directives: + +#includedir /etc/sudoers.d