CompTIA Linux+ XK0-005 Practice Question
A system administrator needs to mount a USB drive in Linux and ensure that users other than the owner cannot write to it. What option needs to be added to the mount command to achieve this?
noexec
sync
rw
ro
A system administrator needs to mount a USB drive in Linux and ensure that users other than the owner cannot write to it. What option needs to be added to the mount command to achieve this?
noexec
sync
rw
ro
To prevent users other than the owner from writing to the USB drive, the 'ro' (read-only) option can be used. This option mounts the filesystem in a read-only mode, allowing only the owner to write to it, thus addressing the administrator's requirement. Other options such as 'rw' (read-write), 'sync', and 'noexec' would not achieve the desired behavior: 'rw' would allow writing by all users, 'sync' would just affect the synchronization timing but not permissions, and 'noexec' would prevent execution of binaries but not affect write permissions.
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
All Information Technology Package plans include the following perks and exams.
Our pricing is simple. Full access to all certifications and exams in each package, for one price.
As many practice tests for as many topics as you want.
Use study mode non-stop, no limits.
Access to our AI assistant, Bash, trained to help you pass your exam.
Track your scores over time in study mode and report cards.
See how you improve over time, and where you need to focus.
Access our store with even bigger discounts than before.
Unlimited access to all performance questions and be prepared for the real thing.
All Information Technology Package plans include unlimited access to the following study materials.
Create an account or sign in to access our study materials.