mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-20 04:01:33 +01:00
gksu try 2
This commit is contained in:
@@ -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
|
#Añadir soporte sudo para este nuevo usuario
|
||||||
sed -i "s/\# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g" /etc/sudoers
|
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 {
|
function graficos {
|
||||||
|
|||||||
Reference in New Issue
Block a user