侠义书生 %!s(int64=3) %!d(string=hai) anos
pai
achega
077a1cd692
Modificáronse 1 ficheiros con 0 adicións e 11 borrados
  1. 0 11
      config-sudo.sh

+ 0 - 11
config-sudo.sh

@@ -1,11 +0,0 @@
-#!/bin/bash
-set -e
-
-# if [[ -f /etc/sudoers.d/$USER ]]; then
-#   sudo rm -f /etc/sudoers.d/$USER
-# fi
-
-sudo tee /etc/sudoers.d/$USER <<EOF
-# $USER ALL=(ALL:ALL) NOPASSWD: ALL
-$USER ALL=(ALL:ALL) NOPASSWD: /usr/sbin/rebuild-iso.sh,/usr/bin/vim,/usr/bin/su,/usr/bin/systemctl
-EOF