Reader small image

You're reading from  Mastering Linux Security and Hardening - Third Edition

Product typeBook
Published inFeb 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781837630516
Edition3rd Edition
Languages
Tools
Right arrow
Author (1)
Donald A. Tevault
Donald A. Tevault
author image
Donald A. Tevault

Donald A. Tevault - but you can call him Donnie - got involved with Linux way back in 2006, and has been working with it ever since. He holds the Linux Professional Institute Level 3-Security certification, and the GIAC Incident Handler certification. Donnie is a professional Linux trainer, and thanks to the magic of the internet, teaches Linux classes literally the world over from the comfort of his living room. He's also a Linux security researcher for an IoT security company.
Read more about Donald A. Tevault

Right arrow

Questions

  1. Which of the following partition mount options would prevent setting the SUID and SGID permissions on files?
    1. nosgid
    2. noexec
    3. nosuid
    4. nouser
  2. Which of the following represents a file with read and write permissions for the user and the group, and read-only permissions for others?
    1. 775
    2. 554
    3. 660
    4. 664
  3. You want to change the ownership and group association of the somefile.txt file to Maggie. Which of the following commands would do that?
    1. sudo chown maggie somefile.txt
    2. sudo chown :maggie somefile.txt
    3. sudo chown maggie: somefile.txt
    4. sudo chown :maggie: somefile.txt
  4. Which of the following is the numerical value for the SGID permission?
    1. 6000
    2. 2000
    3. 4000
    4. 1000
  5. Which command would you use to view the extended attributes of a file?
      ...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Linux Security and Hardening - Third Edition
Published in: Feb 2023Publisher: PacktISBN-13: 9781837630516

Author (1)

author image
Donald A. Tevault

Donald A. Tevault - but you can call him Donnie - got involved with Linux way back in 2006, and has been working with it ever since. He holds the Linux Professional Institute Level 3-Security certification, and the GIAC Incident Handler certification. Donnie is a professional Linux trainer, and thanks to the magic of the internet, teaches Linux classes literally the world over from the comfort of his living room. He's also a Linux security researcher for an IoT security company.
Read more about Donald A. Tevault