Lpi LPIC-1 Exam 102, Part 2 of 2, version 5.0 (102-500日本語版) - 102-500日本語 Exam Practice Test

change コマンドを使用すると、ユーザー アカウントに関連するどのような情報が変更されますか?
Correct Answer: B Vote an answer
特定のユーザーがatを使ってタスクをスケジュールできないようにするには、管理者は何をすべきですか?
Correct Answer: E Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
次のSQLクエリのどれがテーブルorders内のフィールドorder_typeの各値の出現回数を数えますか?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
特定のユーザーが i. を使用してタスクをスケジュールできないようにするにはどうすればよいですか?
Correct Answer: B Vote an answer
findの-typeオプションに対する引数は、シンボリックリンクであるファイルと一致しますか? (引数だけを指定し、他のオプションや単語は指定しないでください。)
Correct Answer:
l
Explanation:
The -type option of the find command allows you to specify the type of file you want to search for. The argument l (lowercase L) will match files that are symbolic links, which are special files that point to another file or directory. Symbolic links are also known as soft links or symlinks. For example, the command find /home -type l will find all the symbolic links in the /home directory and its subdirectories.
ユーザーはCRONスケジューリングシステムを使用する許可を与えられていません。そのアクセスを提供するためにどのファイルを修正する必要がありますか? (ファイルへのフルパスを指定してください)
Correct Answer:
etccronallow
Explanation:
The /etc/cron.d/cron.allow file is a text file that contains the names of the users who are allowed to use the crontab command to create and manage their own cron jobs12. If this file exists, only the users listed in it can use the crontab command, and all other users are denied access12. If this file does not exist, the /etc/cron.d/cron.deny file is checked to see which users are not allowed to use the crontab command12. If neither file exists, only the root user can use the crontab command12.
To modify the /etc/cron.d/cron.allow file, the root user can use any text editor to add or remove the names of the users who will be allowed to use the crontab command1234. For example, to allow the user frank to use the crontab command, the root user can append the name frank to the /etc/cron.d/cron.allow file1234. The root user must always be included in this file, otherwise the superuser access to the crontab command will be denied4.
環境変数のスコープ内から実行されるコマンドのタイムゾーンを変更するためにどの環境変数を設定する必要がありますか? (変数名だけを指定してください。)
Correct Answer:
TZ
Explanation:
The TZ environment variable is used to change the time zone for the commands run from within the environment variable's scope. It specifies the name of a time zone as defined in the /usr/share/zoneinfo directory or a custom time zone in the POSIX format12. The TZ variable can be set either globally in a shell profile file or locally in a shell session. For example, to set the time zone to America/New_York for the current shell session, one can use the following command:
export TZ=America/New_York
To verify the change, one can use the date command to display the current date and time according to the TZ variable. The TZ variable can also be used to run a single command with a different time zone without affecting the system's time zone. For example, to run the date command with the Asia/Tokyo time zone, one can use the following syntax:
TZ=Asia/Tokyo date
The TZ variable is useful for testing how applications behave in different time zones or for displaying the time in different locations34. Reference:
How to Set or Change the Time Zone in Linux | Linuxize
Linux / UNIX: TZ Environment Variable - nixCraft
Get Current System Time Zone in Linux | Baeldung on Linux
Setting the TZ Environment Variable on Linux | InterSystems Developer
システムによって生成されたすべてのsyslogメッセージをコンソール12に表示するために、syslog.confファイルにどのようなエントリを追加できますか?
Correct Answer: E Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
ユーザーをプライマリ グループに割り当てるファイルは次のどれですか?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
すべての環境変数とシェル変数を表示する次のコマンドはどれですか?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
NetworkManager は、システムのネットワーク接続に関して次のどのスレートを表示できますか? (正しい回答を 2 つ選択してください。)
Correct Answer: D,E Vote an answer
次のコマンドはどのような出力を生成しますか?
シーケンス 1 5 20
Correct Answer: E Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
コマンド sendmail に関して正しいのはどれですか?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
どのコマンドが、VARIABLE という名前のシェル変数をサブシェルに表示しますか?
Correct Answer: C Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).