SIMULATION
Download file from http://ip/dir/restircted.html, and the local user harry can access it by http:// station.domain30.example.com/restircted.html, and cannot be accessed by t3gg.com.
A.
SIMULATION
Write a script /root/program. The request is when you input the kernel parameters for script, the script should return to user. When input the user parameters, the script should return to kernel. And when the script has no parameters or the parameters are wrong, the standard error output should be "usage:/root/ program kernel|user".
A.
SIMULATION
Make Secondary belongs the jeff and marion users on sysusers group. But harold user should not belongs to sysusers group.
A.
SIMULATION
Make on /storage directory that only the user owner and group owner member can fully access.
A.
SIMULATION
There were two systems:
system1, main system on which most of the configuration take place
system2, some configuration here
Configure repository.
Create a Repository for your virtual machines. The URL is http://station.network.0.example.com/content/
rhel7.0/x86_64/dvd
A.
Create a playbook called hwreport.yml that produces an output file called /root/
hwreport.txt on all managed nodes with the following information:
--> Inventory host name
--> Total memory in MB
--> BIOS version
--> Size of disk device vda
--> Size of disk device vdb
Each line of the output file contains a single key-value pair.
* Your playbook should:
--> Download the file hwreport.empty from the URL http://classroom.example.com/
hwreport.empty and
save it as /root/hwreport.txt --> Modify with the correct values.
note: If a hardware item does not exist, the associated value should be set to NONE
while practising you to create these file hear. But in exam have to download as per
questation.
hwreport.txt file consists.
my_sys=hostname
my_BIOS=biosversion
my_MEMORY=memory
my_vda=vdasize
my_vdb=vdbsize
A. Answer: See the for complete Solution below.
Create a playbook called timesvnc.yml in /home/sandy/ansible using rhel system role timesync. Set the time to use currently configured nip with the server 0.uk.pool.ntp.org. Enable burst. Do this on all hosts.
A. Answer: See the for complete Solution below.
Please open the ip_forward and take effect permanently.
A. Answer: See the for complete Solution below.
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network's Host.
A. Answer: See the for complete Solution below.
Install the Cron Schedule for jeff user to display "Hello" on daily 5:30.
A. Answer: See the for complete Solution below.