commit 936d07f1ab68c8c2296a229e2b82d8e409f9cc2c parent 92b9e5ae47d6e4634e7d0a59ad339117d1430a45 Author: anders <anders@debian-i3.andersuno.nu> Date: Wed, 9 Jan 2019 02:12:43 +0100 Merge branch 'master' of https://github.com/andersuno/dotfiles merge Diffstat:
M | .bashrc | | | 2 | ++ |
A | sudoers | | | 28 | ++++++++++++++++++++++++++++ |
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/.bashrc b/.bashrc @@ -117,3 +117,5 @@ fi export PS1='\[\033[0;32m\]\u\[\033[1;33m\]@\[\033[0;31m\]\h\[\033[0m\]:\[\033[0;34m\]\w\[\033[0m\]\$ ' export RANGER_LOAD_DEFAULT_RC=FALSE export EDITOR="vim" +export SUDO_EDITOR="vim" +export VISUAL="vim" diff --git a/sudoers b/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 +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 +anders ALL=(ALL:ALL) NOPASSWD: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