102-500 Deutsch 無料問題集「Lpi LPIC-1 Exam 102, Part 2 of 2, version 5.0 (102-500 Deutsch Version)」

Lückentext
Mit dem Befehl ________ wird dem System eine Gruppe hinzugefügt.
正解:
groupaddusrsbingroupadd
Explanation:
The groupadd command creates a new group using the options specified on the command line and the default values from the /etc/login.defs file. It adds an entry for the new group to the /etc/group and /etc/gshadow files. Only the root user or a user with sudo privileges can create new groups using this command. The general syntax for the groupadd command is as follows:
groupadd [OPTIONS] GROUPNAME
Some of the common options for the groupadd command are:
-g, --gid GID: Specify the numeric group ID for the new group. If not given, the system will assign the next available GID from the range of group IDs specified in the login.defs file.
-r, --system: Create a system group with a GID chosen from the range of system group IDs specified in the login.defs file. System groups are usually used for some special system operation purposes, like creating backups or doing system maintenance.
-f, --force: Suppress the error message if the group already exists and exit successfully. This option is useful for scripts that need to ensure the existence of a group.
-K, --key KEY=VALUE: Override the default values from the /etc/login.defs file. The valid keys are GROUP_MIN_ID, GROUP_MAX_ID, SYS_GROUP_MIN_ID, SYS_GROUP_MAX_ID, and GID_INCREMENT.
Reference:
https://linuxize.com/post/how-to-create-groups-in-linux/
https://linuxhandbook.com/groupadd-command/
Welcher Befehl macht die Shell-Variable mit dem Namen VARIABLE für Sub-Shells sichtbar?

解説: (JPNTest メンバーにのみ表示されます)
Welchen Nutzen bietet ein Alias ​​in Bash?

解説: (JPNTest メンバーにのみ表示されます)
Mit welchem ​​Befehl können Sie die Eigenschaften eines bestimmten Fensters in X untersuchen, indem Sie auf dieses Fenster klicken? (Geben Sie NUR den Befehl ohne Pfad oder Parameter an.)
正解:
usrbinxwininfoxwininfo
Explanation:
The command that can be used to investigate the properties for a particular window in X by clicking that window is xwininfo. xwininfo is a command-line tool that provides information about X windows. When executed, it opens a small window and waits for the user to select a window by clicking on it. Then, it displays various characteristics about the window in question, such as its geometry, position, size, depth, class, name, id, and more. xwininfo is part of the X Window System, which is a graphical user interface system for Unix-like operating systems. xwininfo can be useful for debugging, testing, or scripting purposes. Reference: https://bing.com/search?q=command+to+investigate+properties+of+a+window+in+X
https://www.exam-answer.com/linux-foundation-certified-system-administrator-lfcs-simulation-investigate-window-properties
Angesichts des folgenden Ausschnitts der sudo-Konfiguration:
Jane ANY = NOPASSWD: / bin / kill, / bin / id, PASSWD: / sbin / fdisk
Welche der folgenden Aussagen sind wahr? (Wählen Sie drei aus.)

正解:A、B、D 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Was versteht man unter dem Begriff Braillezeile?

Mit welchem ​​Befehl kann eine Gruppe von einem Linux-System gelöscht werden?

解説: (JPNTest メンバーにのみ表示されます)
Welcher Befehl zeigt die Gruppennamen und GIDs an, zu denen ein Benutzer gehört? (Geben Sie nur den Befehlsnamen mit oder ohne Pfadangabe an.)
正解:
idusrbinid
Explanation:
The id command will display the user ID (uid), the primary group ID (gid), and the supplementary groups (groups) of a user. The output will show the names and the numerical IDs of the groups. For example:
id linuxize
The command will show the user ID (uid), the user's primary group (gid), and the user's secondary groups (groups) uid=1001(linuxize) gid=1001(linuxize) groups=1001(linuxize),27(sudo) To print only the names instead of the numbers use the -n option.
id -nG linuxize
The command will show only the names of the groups
linuxize sudo
The id command is part of the GNU coreutils package and is available on all Linux systems. The full path of the command is /usr/bin/id. Reference:
id(1) - Linux manual page
How to List Groups in Linux | Linuxize
Warum wird das xhost-Programm als gefährlich eingestuft?

解説: (JPNTest メンバーにのみ表示されます)
Wie wird ein Display Manager gestartet?

解説: (JPNTest メンバーにのみ表示されます)
In welchem ​​Verzeichnis in / etc wird eine Beispielkopie von Dateien und Verzeichnissen gespeichert, wenn ein neuer Benutzer ein Basisverzeichnis erstellt hat? (Bitte geben Sie den vollständigen Pfad an)
正解:
etcskeletcskel
Explanation:
The /etc/skel directory is used to keep a sample copy of files and directories for when a new user has a home directory created. The /etc/skel directory contains files and directories that are automatically copied over to a new user's home directory when such user is created by the useradd or adduser command. The /etc/skel directory allows the system administrator to create a standard environment for all new users on the system. For example, the /etc/skel directory may contain a default .bashrc file that sets some aliases and environment variables for the new user, or a default .profile file that executes some commands at login. The /etc/skel directory may also contain subdirectories such as .ssh or .config that store configuration files for various applications or services. The name /etc/skel comes from the word "skeleton", as it provides a basic structure for the new user's home directory. Reference:
[Linux User Administration]
[Linux Directory Structure]
Was ist Irue in Bezug auf öffentliche und private SSH-Schlüssel? (Wählen Sie ZWEI richtige Antworten.)

正解:B、D 解答を投票する

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡