<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="lockdown-logout" lang="eu">

  <info>
    <link type="guide" xref="user-settings#lockdown"/>
    <link type="seealso" xref="dconf-lockdown"/>
    <revision pkgversion="3.30" date="2019-02-08" status="review"/>

    <credit type="author copyright">
      <name>Jana Svarova</name>
      <email>jana.svarova@gmail.com</email>
      <years>2015</years>
    </credit>
    <credit type="editor">
      <name>Petr Kovar</name>
      <email>pknbe@volny.cz</email>
      <years>2019</years>
    </credit>

    <license xmlns="http://projectmallard.org/1.0/" href="https://creativecommons.org/licenses/by-sa/3.0/">
  <p>This work is licensed under a <link href="https://creativecommons.org/licenses/by-sa/3.0/">Creative
  Commons Attribution-ShareAlike 3.0 Unported License</link>.</p>
</license>

    <desc>Eragotzi erabiltzaileak saioa amaitu dezan eta erabiltzailez aldatu dadin.</desc>
  </info>

  <title>Desgaitu erabiltzaileak saioa amaitu dezan eta erabitzailez aldatu dadin</title>

  <p>Preventing the user from logging out is useful for special kind of GNOME
  deployments (unmanned kiosks, public internet access terminals, and so on).</p>

  <note style="important">
  <p>Users can evade the logout lockdown by switching to a different user. That
  is the reason why it is recommended to also disable <em>user switching</em>
  when configuring the system.</p>
  </note>

  <steps>
  <title>Desgaitu erabiltzaileak saioa amaitu dezan eta erabitzailez aldatu dadin</title>
  <item xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" xml:id="dconf-profile-user">
    <p>Sortu <file its:translate="no">user</file> profila honako lerroekin:</p>
    <listing its:translate="no">
      <title><file>/etc/dconf/profile/user</file></title>
      <code>user-db:user
system-db:local</code>
    </listing>
    <p><input its:translate="no">local</input> izena <sys its:translate="no" xref="dconf">dconf</sys> datu-basearen izena da.</p>
  </item>
  <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-profile-user-dir">
    <p>Create the directory <file>/etc/dconf/db/local.d/</file>
    if it does not already exist.</p>
  </item>
  <item>
  <p>Sortu <file>/etc/dconf/db/local.d/00-logout</file> gako-fitxategia <sys>local</sys> datu-baseari buruzko informazioa emateko.</p>
<screen>
[org/gnome/desktop/lockdown]
# Eragotzi erabiltzaileak saioa amaitu dezan
disable-log-out=true

# Eragotzi erabiltzailea erabiltzailez aldatu dadin
disable-user-switching=true
</screen>
  </item>
  <item>
  <p>Indargabetu erabiltzailearen ezarpena eta eragotzi aldatu dezala <file>/etc/dconf/db/local.d/locks/lockdown</file> fitxategian:</p>
<screen>
# Blokeatu erabiltzaileen saio-amaiera
/org/gnome/desktop/lockdown/disable-log-out

# Blokeatu erabiltzailez aldatzea
/org/gnome/desktop/lockdown/disable-user-switching
</screen>
  </item>
  <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-update">
    <p>Eguneratu sistemaren datu-baseak:</p>
    <screen><output style="prompt"># </output><input>dconf update</input></screen>
  </item>
  <item>
  <p>Berrabiarazi sistema sistema-ezarpenak indarrean sartu daitezen.</p>
  </item>
  </steps>

</page>
