174k views
2 votes
Which directory in the FHS stores programs and configuration information that can only be executed and modified by the root user?

A. /var
B. /usr
C. /bin
D. /sbin

1 Answer

3 votes

Answer: /sbin

Explanation:

In Linux, FHS describes the directory content and the way in which Operating System files are displayed to the user.

/sbin is a directory that contains executable programs. s/bin is the short form of system binaries. System binaries require root rights to perform specific tasks. /sbin contains binaries that are crucial to boot the system and also to recover and restore the system. /bin directory also contains the commands to boot the system but the main difference between both is that /sbin programs can only be executed by the root user. Examples are fdisk, fsck, root,halt, init, grub, ifconfig.

User Olibiaz
by
8.4k points