mirror of
https://github.com/brain-hackers/buildbrain
synced 2024-12-21 19:50:12 +09:00
Merge pull request #47 from brain-hackers/sudoer
Show asterisks in sudo
This commit is contained in:
commit
eaa027db98
@ -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
|
||||
|
28
os-brainux/override/etc/sudoers
Normal file
28
os-brainux/override/etc/sudoers
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user