202-450 Deutsch試験無料問題集「Lpi LPIC-2 Exam 202, Part 2 of 2, version 4.5 (202-450 Deutsch Version) 認定」
Die folgende Apache HTTPD-Konfiguration wurde eingerichtet, um einen virtuellen Host zu erstellen, der unter www.example.com und www2.example.com verfügbar ist:
Obwohl Apache HTTPD die Konfigurationsdatei korrekt verarbeitet hat, werden Anforderungen an beide Namen nicht korrekt verarbeitet. Was sollte geändert werden, um einen korrekten Betrieb zu gewährleisten?
Obwohl Apache HTTPD die Konfigurationsdatei korrekt verarbeitet hat, werden Anforderungen an beide Namen nicht korrekt verarbeitet. Was sollte geändert werden, um einen korrekten Betrieb zu gewährleisten?
正解:A
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Welche Option in der sshd-Konfigurationsdatei weist sshd an, nur bestimmten Benutzernamen die Anmeldung an einem System zu erlauben?
(Geben Sie NUR den Optionsnamen ohne Werte an.)
(Geben Sie NUR den Optionsnamen ohne Werte an.)
正解:
AllowUsers
Explanation:
The option in the sshd configuration file that instructs sshd to permit only specific user names to log in to a system is AllowUsers.
This option can be followed by a list of user name patterns, separated by spaces, that are allowed to log in.
For example:
AllowUsers alice bob
This will allow only alice and bob to log in via ssh. Any other user will be denied access. The AllowUsers option can also take the form USER@HOST to restrict logins to particular users from particular hosts. For example:
AllowUsers [email protected].* [email protected]
This will allow alice to log in from any host in the 192.168.1.0/24 network, and bob to log in from the host example.com. The AllowUsers option can be used in conjunction with the DenyUsers option, which does the opposite. The allow/deny directives are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups.
References:
sshd_config - OpenSSH SSH daemon configuration file
Allow Or Deny SSH Access To A Particular User Or Group In Linux - OSTechNix
Explanation:
The option in the sshd configuration file that instructs sshd to permit only specific user names to log in to a system is AllowUsers.
This option can be followed by a list of user name patterns, separated by spaces, that are allowed to log in.
For example:
AllowUsers alice bob
This will allow only alice and bob to log in via ssh. Any other user will be denied access. The AllowUsers option can also take the form USER@HOST to restrict logins to particular users from particular hosts. For example:
AllowUsers [email protected].* [email protected]
This will allow alice to log in from any host in the 192.168.1.0/24 network, and bob to log in from the host example.com. The AllowUsers option can be used in conjunction with the DenyUsers option, which does the opposite. The allow/deny directives are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups.
References:
sshd_config - OpenSSH SSH daemon configuration file
Allow Or Deny SSH Access To A Particular User Or Group In Linux - OSTechNix