Question 6

SIMULATION
Configure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain 172.25.0.0/16 to access the server.

Question 7

Set cronjob for user natasha to do /bin/echo hiya at 14:23.

Question 8

Which of the following statements is true about load balancers?
  • Question 9

    Configure the permissions of /var/tmp/fstab
    Copy the file /etc/fstab to /var/tmp/fstab. Configure the permissions of /var/tmp/fstab so that:
    the file /var/tmp/fstab is owned by the root user.
    the file /var/tmp/fstab belongs to the group root.
    the file /var/tmp/fstab should not be executable by anyone.
    the user natasha is able to read and write /var/tmp/fstab.
    the user harry can neither write nor read /var/tmp/fstab.
    all other users (current or future) have the ability to read /var/tmp/fstab.

    Question 10

    SIMULATION
    Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
    The owner of this document must be root.

    This document belongs to root group.

    User mary have read and write permissions for this document.

    User alice have read and execute permissions for this document.

    Create user named bob, set uid is 1000. Bob have read and write permissions for this document.

    All users has read permission for this document in the system.