1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-20 12:11:30 +01:00

gksu try 2

This commit is contained in:
2016-06-19 13:15:18 +02:00
parent bdfcf7ea2a
commit c77b4fb5d0

View File

@@ -105,6 +105,10 @@ pass1="" #Reiniciar pass1, por si hace falta de nuevo que el until funcione
#Añadir soporte sudo para este nuevo usuario
sed -i "s/\# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g" /etc/sudoers
#Modificar gksu si lleva una sesion grafica
if [[ $optentorno != "6" ]];then
gconftool-2 --set /apps/gksu/sudo-mode --type=bool true --owner=$nameuser
fi
}
function graficos {