Limit X server connections to authorized clients using MIT-MAGIC-COOKIE records stored per user.
Which command manages this data?
xauth manages X server authorization records such as MIT-MAGIC-COOKIE values. Protect the authorization data from unintended sharing.
Detailed explanation
xauthCorrect. xauth manages X authorization records and cookies.
Correct. xauth manages X authorization records and cookies.
startxIncorrect. startx starts an X session.
Incorrect. startx starts an X session.
uptimeIncorrect. uptime reports system status.
Incorrect. uptime reports system status.
xkillallIncorrect. xkillall is not the standard authorization utility.
Incorrect. xkillall is not the standard authorization utility.
Try it yourself
An example you can run in a temporary verification environment.
xauth -h 2>&1 | head || trueExpected result
xauthがある場合はhelp。recordは変更しないKey points
- xauth
- Authorization cookie
- XAUTHORITY
Notes
- Environment: xauth helpのみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.