File: lockdown-command-line.page

package info (click to toggle)
gnome-user-docs 49.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 143,008 kB
  • sloc: xml: 829; makefile: 532; sh: 514
file content (106 lines) | stat: -rw-r--r-- 4,731 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?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-command-line" xml:lang="id">

  <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>pknbe@volny.cz</email>
      <years>2014</years>
    </credit>
    <credit type="author copyright">
      <name>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
      <years>2014</years>
    </credit>
    <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>Mencegah pengguna mengakses baris perintah.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Andika Triwidada</mal:name>
      <mal:email>andika@gmail.com</mal:email>
      <mal:years>2020-2024</mal:years>
    </mal:credit>
  </info>

  <title>Menonaktifkan akses baris perintah</title>

  <p>Untuk menonaktifkan akses baris perintah untuk pengguna desktop, Anda perlu membuat perubahan konfigurasi dalam beberapa konteks yang berbeda. Perhatikan bahwa langkah berikut tidak menghapus izin pengguna desktop untuk mengakses baris perintah, tetapi menghapus cara pengguna desktop dapat mengakses baris perintah.</p>

  <list>
    <item>
      <p>Atur kunci GSettings <code>org.gnome.desktop.lockdown.disable-command-line</code>, yang mencegah pengguna mengakses terminal atau menentukan baris perintah yang akan dieksekusi (prompt perintah <keyseq> <key>Alt</key><key>F2</key></keyseq>).</p>
    </item>
    <item>
      <p>Mencegah pengguna mengakses prompt perintah <keyseq><key>Alt</key><key>F2</key></keyseq>.</p>
    </item>
    <item>
      <p>Menonaktifkan beralih ke terminal virtual (VTS) dengan pintasan <keyseq> <key>Ctrl</key><key>Alt</key><key><var>tombol fungsi</var></key></keyseq> dengan memodifikasi konfigurasi X server.</p>
    </item>
    <item>
      <p>Hapus <app>Terminal</app> dan semua aplikasi terminal lainnya dari ringkasan <gui>aktivitas</gui> di Shell GNOME. Anda juga akan perlu untuk mencegah pengguna dari memasang aplikasi terminal baru.</p>
    </item>
  </list>

<section id="command-prompt">
  <title>Menonaktifkan prompt perintah</title>

  <steps>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/>
    <item>
      <p>Buat basis data <sys>local</sys> untuk pengaturan di seluruh mesin dalam <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>Menimpa pengaturan pengguna dan mencegah pengguna mengubahnya di <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 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>

<section id="virtual-terminal">
  <title>Nonaktifkan menjatuhkan ke terminal virtual</title>

  <p>Pengguna biasanya dapat menggunakan pintasan <keyseq><key>Ctrl</key><key>Alt</key><key><var>tombol fungsi</var></key></keyseq> (misalnya, <keyseq><key>Ctrl</key><key>Alt</key><key>F2</key></keyseq>) untuk beralih dari desktop GNOME ke terminal virtual.</p>

  <p>Jika komputer menjalankan <em>Sistem X Window</em>, Anda dapat menonaktifkan akses ke semua terminal virtual dengan menambahkan opsi <code>DontVTSwitch</code> ke bagian <code>Serverflags</code> dalam berkas konfigurasi X di direktori <file>/etc/x11/xorg.conf.d/</file>.</p>

  <steps>
    <item>
      <p>Buat atau edit berkas konfigurasi X di <file>/etc/x11/xorg.conf.d/</file>. Misalnya, <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>Mulai ulang X server agar perubahan diterapkan.</p>
    </item>
  </steps>

</section>

<!-- TODO: add section for removing applications from the Activities overview. -->
</page>