What directory is the root user's home directory?

Study for the OSCP Linux Exam. Use our flashcards and multiple-choice questions to test your skills. Each query comes with detailed hints and explanations to enhance your preparedness. Get ready to conquer the exam!

Multiple Choice

What directory is the root user's home directory?

Explanation:
Root is the superuser, and in Linux the root account has a dedicated home directory separate from regular users. That directory is /root, where root stores its personal files and shell configuration. Regular users live under /home/username, not in /root. The other paths are not the standard location for root’s home directory, so /root is the correct choice.

Root is the superuser, and in Linux the root account has a dedicated home directory separate from regular users. That directory is /root, where root stores its personal files and shell configuration. Regular users live under /home/username, not in /root. The other paths are not the standard location for root’s home directory, so /root is the correct choice.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy