dotfiles

andersuno
git clone git://git.andersuno.nu/dotfiles.git
Log | Files | Refs | README

commit 28562e99d95c5cdc839f0ee952c185cc2a7a795c
parent 590c18918cbb147f950dd63ecb04c8ae35475074
Author: anders <anders@debian-acer.andersuno.nu>
Date:   Tue,  8 Jan 2019 17:49:13 +0100

 Changes to be committed:
	modified:   .bashrc
	new file:   sudoers

Diffstat:
M.bashrc | 2++
Asudoers | 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