mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
we dont need to run convert-gnome-classic script
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
echo "Setting default session to gnome-classic"
|
|
||||||
cp /usr/share/accountsservice/user-templates/standard /etc/accountsservice/user-templates/
|
|
||||||
sed -i 's|Session=gnome|Session=gnome-classic|g' /etc/accountsservice/user-templates/standard
|
|
||||||
@@ -12,10 +12,7 @@ graphical_target:
|
|||||||
- require:
|
- require:
|
||||||
- desktop_packages
|
- desktop_packages
|
||||||
|
|
||||||
convert_gnome_classic:
|
{# set users to use gnome-classic #}
|
||||||
cmd.script:
|
|
||||||
- name: salt://desktop/scripts/convert-gnome-classic.sh
|
|
||||||
|
|
||||||
{% for username in salt['file.find'](path='/home/',mindepth=1,maxdepth=1,type='d') %}
|
{% for username in salt['file.find'](path='/home/',mindepth=1,maxdepth=1,type='d') %}
|
||||||
{% set username = username.split('/')[2] %}
|
{% set username = username.split('/')[2] %}
|
||||||
{% if username != 'zeek' %}
|
{% if username != 'zeek' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user