<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Lock down specific settings</title>
<link rel="stylesheet" type="text/css" href="../pintail-mallard-tr.css">
<script type="text/javascript" src="../highlight.pack.js"></script><script>
document.addEventListener('DOMContentLoaded', function() {
  var matches = document.querySelectorAll('code.syntax')
  for (var i = 0; i < matches.length; i++) {
    hljs.highlightBlock(matches[i]);
  }
}, false);</script><script type="text/javascript" src="../yelp.js"></script>
</head>
<body lang="tr" dir="ltr">
<header class="gnome-header"><nav><div class="pagewide">
<a id="home-link" class="gnome-navbar-brand" href="../index.html" title="Go to home page"><h1>GNOME Help</h1></a><details class="gnome-langs gnome-langs-wide"><summary title="Change language" aria-label="Change language"><span class="gnome-langs-current">tr</span></summary><ul>
<li><a href="dconf-lockdown.html.ca">català</a></li>
<li><a href="dconf-lockdown.html.cs">čeština</a></li>
<li><a href="dconf-lockdown.html.de">Deutsch</a></li>
<li><a href="dconf-lockdown.html">English</a></li>
<li><a href="dconf-lockdown.html.es">español</a></li>
<li><a href="dconf-lockdown.html.eu">euskara</a></li>
<li><a href="dconf-lockdown.html.fr">français</a></li>
<li><a href="dconf-lockdown.html.gl">galego</a></li>
<li><a href="dconf-lockdown.html.hr">hrvatski</a></li>
<li><a href="dconf-lockdown.html.id">Indonesia</a></li>
<li><a href="dconf-lockdown.html.it">italiano</a></li>
<li><a href="dconf-lockdown.html.hu">magyar</a></li>
<li><a href="dconf-lockdown.html.nl">Nederlands</a></li>
<li><a href="dconf-lockdown.html.pt_BR">português (Brasil)</a></li>
<li><a href="dconf-lockdown.html.sv">svenska</a></li>
<li><a href="dconf-lockdown.html.tr" aria-current="true">Türkçe</a></li>
<li><a href="dconf-lockdown.html.ru">русский</a></li>
<li><a href="dconf-lockdown.html.uk">українська</a></li>
<li><a href="dconf-lockdown.html.kk">қазақ тілі</a></li>
<li><a href="dconf-lockdown.html.fa" dir="rtl">فارسی</a></li>
<li><a href="dconf-lockdown.html.ko">한국어</a></li>
</ul></details>
</div></nav></header><main><aside class="sidebar sidebar-left"><div class="sidebar-contents"><div class="inner">
<div class="title"><h2><span class="title">İçerik</span></h2></div>
<div class="region"><div class="contents"><ul>
<li class="links"><a href="../system-admin-guide/index.html.tr" title="GNOME System Administration Guide">GNOME System Administration Guide</a></li>
<li class="links"><a href="../system-admin-guide/setup.html.tr" title="Setup">Setup</a></li>
<li class="links"><a href="../system-admin-guide/appearance.html.tr" title="Appearance">Appearance</a></li>
<li class="links"><a href="../system-admin-guide/login.html.tr" title="Login">Login</a></li>
<li class="links"><a href="../system-admin-guide/network.html.tr" title="Network &amp; hardware">Network &amp; hardware</a></li>
<li class="links"><a href="../system-admin-guide/software.html.tr" title="Software">Software</a></li>
<li class="links"><a href="../system-admin-guide/user-settings.html.tr" title="User settings">User settings</a></li>
<li class="links"><a href="../system-admin-guide/sundry.html.tr" title="Other">Other</a></li>
</ul></div></div>
</div></div></aside><aside class="sidebar sidebar-right"></aside><div class="page">
<header><div class="inner pagewide"><div class="trails" role="navigation">
<div class="trail">
<a class="trail" href="../index.html">GNOME</a> » <a class="trail" href="../system-admin-guide/index.html.tr" title="GNOME System Administration Guide">System Administration Guide</a> » <a class="trail" href="../system-admin-guide/user-settings.html.tr" title="User settings">User settings</a> › <a class="trail" href="../system-admin-guide/user-settings.html.tr#lockdown" title="Lock down settings">Lock down settings</a> » </div>
<div class="trail">
<a class="trail" href="../index.html">GNOME</a> » <a class="trail" href="../system-admin-guide/index.html.tr" title="GNOME System Administration Guide">System Administration Guide</a> » <a class="trail" href="../system-admin-guide/setup.html.tr" title="Setup">Setup</a> » </div>
</div></div></header><article><div class="hgroup pagewide"><h1 class="title"><span class="title">Lock down specific settings</span></h1></div>
<div class="region">
<div class="contents pagewide">
<p class="p">By using the lockdown mode in dconf, you can prevent users from changing
  specific settings. Without locking down the system settings, user settings
  take precedence over the system settings.</p>
<p class="p">To <span class="em">lock down</span> a <span class="sys">dconf</span> key or subpath,
  you will need to create a <span class="file">locks</span> subdirectory
  in the keyfile directory. The files inside this directory contain a list of
  keys or subpaths to lock. Just as with the <span class="link"><a href="../system-admin-guide/dconf-keyfiles.html.tr" title="Control system settings with keyfiles">keyfiles</a></span>,
  you may add any number of files to this directory.</p>
<div class="steps"><div class="inner">
<div class="title title-steps"><h2><span class="title">Lock a setting</span></h2></div>
<div class="region"><ol class="steps">
<li class="steps">
<p class="p">Before you can lock down a key or subpath, you need to set it. This
      example shows how to lock <span class="link"><a href="../system-admin-guide/desktop-background.html.tr" title="Set custom background">a background
      setting</a></span> once it has been set.</p>
<p class="p">At this point, you should have
      <span class="link"><a href="../system-admin-guide/dconf-profiles.html.tr" title="Profiles">a <span class="sys">user</span> profile</a></span> and
      <span class="link"><a href="../system-admin-guide/dconf-keyfiles.html.tr" title="Control system settings with keyfiles">a keyfile</a></span> with the settings that you
      want to lock down.</p>
</li>
<li class="steps"><p class="p">Create a directory named
      <span class="file">/etc/dconf/db/local.d/locks</span>.</p></li>
<li class="steps">
<p class="p">Create a file in the
      <span class="file">/etc/dconf/db/local.d/locks/</span> directory
      and list one key or subpath per line. For example, create
      <span class="file">/etc/dconf/db/local.d/locks/00_default-wallpaper</span>:</p>
<div class="code"><pre class="contents"><code># <span class="span">prevent changes to the background</span>
/org/gnome/desktop/background/picture-uri
/org/gnome/desktop/background/picture-options
/org/gnome/desktop/background/primary-color
/org/gnome/desktop/background/secondary-color</code></pre></div>
</li>
<li class="steps">
<p class="p">Update the system databases:</p>
<div class="screen"><pre class="contents"><code><span class="prompt output"># </span><span class="input">dconf update</span></code></pre></div>
</li>
</ol></div>
</div></div>
</div>
<section class="links" role="navigation"><div class="inner">
<div class="hgroup pagewide"></div>
<div class="contents pagewide">
<div class="links guidelinks"><div class="inner">
<div class="title"><h2><span class="title">Daha Çok Bilgi</span></h2></div>
<div class="region"><ul>
<li class="links "><a href="../system-admin-guide/user-settings.html.tr#lockdown" title="Lock down settings">Lock down settings</a></li>
<li class="links ">
<a href="../system-admin-guide/setup.html.tr" title="Setup">Setup</a><span class="desc"> — User and system settings management.</span>
</li>
</ul></div>
</div></div>
<div class="links seealsolinks"><div class="inner">
<div class="title"><h2><span class="title">Ayrıca Bakınız</span></h2></div>
<div class="region"><ul>
<li class="links ">
<a href="../system-admin-guide/lockdown-online-accounts.html.tr" title="Allow or disallow online accounts">Allow or disallow online accounts</a><span class="desc"> — Enable or disable some or all online accounts.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/logout-automatic.html.tr" title="Configure automatic logout">Configure automatic logout</a><span class="desc"> — End an idle user session.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/dconf-custom-defaults.html.tr" title="Custom default values for system settings">Custom default values for system settings</a><span class="desc"> — Set system-wide default settings using
    <span class="sys">dconf</span> profiles.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/power-dim-screen.html.tr" title="Dim screen when user is idle">Dim screen when user is idle</a><span class="desc"> — Make the screen dim after a specific amount of time when the user is
    idle.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/lockdown-file-saving.html.tr" title="Disable file saving">Disable file saving</a><span class="desc"> — Prevent the user from saving files to disk.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/lockdown-printing.html.tr" title="Disable printing">Disable printing</a><span class="desc"> — Prevent the user from printing documents.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/lockdown-repartitioning.html.tr" title="Disable repartitioning">Disable repartitioning</a><span class="desc"> — Prevent the user from changing disk partitions.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/lockdown-logout.html.tr" title="Disable user logout and user switching">Disable user logout and user switching</a><span class="desc"> — Prevent the user from logging out and from switching a user.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/desktop-lockscreen.html.tr" title="Lock the screen when the user is idle">Lock the screen when the user is idle</a><span class="desc"> — Make the screen automatically lock, so the user must
    enter a password after being idle.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/dconf.html.tr" title="Manage user and system settings with dconf">Manage user and system settings with dconf</a><span class="desc"> — What is <span class="sys">dconf</span>? How can it be used to edit configurations?</span>
</li>
<li class="links ">
<a href="../system-admin-guide/dconf-profiles.html.tr" title="Profiles">Profiles</a><span class="desc"> — Detailed information about profile and profile selection.</span>
</li>
</ul></div>
</div></div>
</div>
</div></section>
</div>
<div class="clear"></div></article><footer><div class="inner pagewide"><div class="about ui-expander" role="contentinfo">
<div class="yelp-data yelp-data-ui-expander" data-yelp-expanded="false"></div>
<div class="inner">
<div class="hgroup"><h2><span class="title">Hakkında</span></h2></div>
<div class="region"><div class="contents">
<div class="copyrights">
<div class="copyright">© 2012 Ryan Lortie</div>
<div class="copyright">© 2013, 2015 Ekaterina Gerasimova</div>
</div>
<div class="credits">
<div class="credits-authors">
<div class="title"><span class="title">Yazan(lar):</span></div>
<ul class="credits"><li>Ryan Lortie</li></ul>
</div>
<div class="credits-editors">
<div class="title"><span class="title">Düzenleyen(ler):</span></div>
<ul class="credits">
<li>Ekaterina Gerasimova</li>
<li>Petr Kovar</li>
</ul>
</div>
<div class="credits-blank"></div>
<div class="credits-blank"></div>
</div>
<div class="license">
<div class="title"><span class="title">Lisans</span></div>
<div class="contents"><p class="p">This work is licensed under a <span class="link"><a href="https://creativecommons.org/licenses/by-sa/3.0/" title="https://creativecommons.org/licenses/by-sa/3.0/">Creative
  Commons Attribution-ShareAlike 3.0 Unported License</a></span>.</p></div>
</div>
</div></div>
</div>
</div></div></footer>
</div></main>
</body>
</html>
