New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC GSEC Exam - Topic 2 Question 30 Discussion

Actual exam question for GIAC's GSEC exam
Question #: 30
Topic #: 2
[All GSEC Questions]

You work as a Network Administrator for Secure World Inc. The company has a Linux-based network. You want to run a command with the changed root directory. Which of the following commands will you use?

Show Suggested Answer Hide Answer
Suggested Answer: B

In order to run a command with the changed root directory, you will have to execute the following command:

chroot <new root> <command>

chroot runs a command or an interactive shell with a special root directory. It runs the specified command with the root directory set to <new

root>.

Answer option A is incorrect. The ls command is used to list files and directories in a Linux computer.

Answer option D is incorrect. The chdir command changes the current directory to the path specified with the command.

Answer option C is incorrect. The route command manipulates the kernel's IP routing tables.


Contribute your Thoughts:

0/2000 characters
Rikki
3 months ago
I thought it was chdir at first, but B makes more sense.
upvoted 0 times
...
Kristofer
3 months ago
C is totally wrong, route has nothing to do with this!
upvoted 0 times
...
Robt
4 months ago
Wait, is chroot really that straightforward?
upvoted 0 times
...
Bobbye
4 months ago
Agreed, chroot is the way to go!
upvoted 0 times
...
Vashti
4 months ago
Definitely B, that's the right command!
upvoted 0 times
...
Florencia
4 months ago
I remember "chroot" being used for isolating environments, so I think that's the command we should choose here.
upvoted 0 times
...
Kayleigh
4 months ago
I feel a bit unsure about this one. "ls" and "route" don't seem to fit, but I can't recall if "chdir" is valid in this context.
upvoted 0 times
...
Darrin
5 months ago
I practiced a similar question last week, and I'm pretty sure "chroot" is the right command to use for changing the root directory.
upvoted 0 times
...
Sabine
5 months ago
I think the command we're looking for is related to changing the root directory, but I can't remember if it's "chroot" or something else.
upvoted 0 times
...
Lucina
5 months ago
Hmm, I'm a bit unsure on this one. Lowering reserve requirements could be a way to stimulate the economy, but I'm not totally sure if that's the main goal. I might need to think through the implications a bit more.
upvoted 0 times
...
Teri
5 months ago
I'm a bit confused by the question. Can we use the console to display the list of users in a visual way? I'll need to review the console methods more closely.
upvoted 0 times
...
Joseph
5 months ago
Hmm, this is a tricky one. I'm not entirely sure about the differences between the options, but I think the key is to focus on how portfolio prioritization and optimization can support strategic decision-making.
upvoted 0 times
...

Save Cancel