Question 90
Original unofficial RHEL 10 RHCSA skill-check scenario: A user switches accounts in a terminal and mistakenly saves output into the prior user's home directory. Which observation best confirms the intended outcome?
Explanation
Correct Answer
In this RHEL 10 system administration case: A user switches accounts in a terminal and mistakenly saves output into the prior user's home directory. Underlying reason: Current identity and working directory can differ after account switching. The most direct, approved resolution is: Check `id`, `whoami`, and `pwd`, then use the correct target user's home path. Confirm it by checking: The file is created with appropriate ownership in the intended home. Sustain the fix by: Verify identity and destination before writing shared artifacts. This is the INTENDED response for the strongest objective verification result. It is a knowledge-check explanation, not a verified hands-on Red Hat exam answer;
Incorrect Answers
`whoami`, home directory and login environment reflect the target account. That is not sufficient for the reported RHEL task, because current identity and working directory can differ after account switching.
The entire intended path exists and the job can write its output. That is not sufficient for the reported RHEL task, because current identity and working directory can differ after account switching.
The app works while unrelated users cannot alter web content. That is not sufficient for the reported RHEL task, because current identity and working directory can differ after account switching.