文件操作 - lockdown-online-accounts.page
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/help/gl/system-admin-guide/lockdown-online-accounts.page
编辑文件内容
<?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-online-accounts" xml:lang="gl"> <info> <link type="guide" xref="user-settings#lockdown"/> <revision pkgversion="3.14" date="2015-05-04" status="draft"/> <link type="seealso" xref="dconf-lockdown"/> <credit type="author copyright"> <name>Jana Svarova</name> <email>jana.svarova@gmail.com</email> <years>2015</years> </credit> <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/> <desc>Activar ou desactivar algunhas ou todas as contas en liña.</desc> <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Fran Diéguez</mal:name> <mal:email>frandieguez@gnome.org</mal:email> <mal:years>2010-2018</mal:years> </mal:credit> </info> <title>Permitir ou desactivar contas de usuario</title> <p>The <app>GNOME Online Accounts</app> (GOA) are used for setting personal network accounts which are then automatically integrated with the GNOME Desktop and applications. The user can add their online accounts, such as Google, Facebook, Flickr, ownCloud, etc. via the <app>Online Accounts</app> application.</p> <p>Como administrador do sistema, vostede pode:</p> <list> <item><p>activar todas as contas en liña;</p></item> <item><p>activar de forma selectiva unhas cantas contas en liña;</p></item> <item><p>desactivar todas as contas en liña.</p></item> </list> <section id="whitelist-goa"> <title>Configurar contas en liña</title> <steps> <item><p>Make sure that you have the <sys>gnome-online-accounts</sys> package installed on your system.</p> </item> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user-dir'])"/> <item> <p>Create the key file <file>/etc/dconf/db/local.d/00-goa</file> to provide information for the <sys>local</sys> database containing the following configuration:</p> <list> <item><p>Para activar de forma selectiva só uns cantos forncedores:</p> <screen>[org/gnome/online-accounts] whitelisted-providers= ['google', 'facebook']</screen> </item> <item><p>Para desactivar todos os fornecedores:</p> <screen>[org/gnome/online-accounts] whitelisted-providers= []</screen></item> <item><p>Para permitir todos os fornecedores:</p> <screen>[org/gnome/online-accounts] whitelisted-providers= ['all']</screen></item> </list> </item> <item> <p>To prevent the user from overriding these settings, create the file <file>/etc/dconf/db/local.d/locks/goa</file> with the following content:</p> <listing> <title><file>/etc/dconf/db/local.db/locks/goa</file></title> <code> # Lock the list of providers that are allowed to be loaded /org/gnome/online-accounts/whitelisted-providers </code> </listing> </item> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"/> </steps> </section> </page>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件