- (Exam Topic 4)
There were two systems:
system1, main system on which most of the configuration take place
system2, some configuration here
Script2.
Create a script on serverX called /root/createusers
When this script is called with the argument, it should add all the users from the file
Download the file from station.network0.example.c">
http://station.network0.example.com/pub/testfile
All users should have the login shell as /bin/false, password not required
When this script is called with any other argument, it should print the message as “Input File Not Found”
When this script is run without any argument, it should display “Usage:/root/createusers”
NOTE: if the users are added no need to delete
Solution:
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
In accordance with the following requirements, share /common directory through smb service.
-- your sub service must be in the SAMBA working-set
-- the shared name of common is common
-- the common share just can be shared by the customers in the example.com domain
-- the common must be available for browsing
-- mary must be able to login to the SMB share and for read operation, “password” is the secret code if it need to be verified.
Solution:
Does this meet the goal?
Correct Answer:A
- (Exam Topic 4)
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
Solution:
Save and Exit (:wq) Then run this:
Does this meet the goal?
Correct Answer:A
- (Exam Topic 4)
There were two systems:
system1, main system on which most of the configuration take place
system2, some configuration here
Webpage content modification.
Implement website for serverX.examp">http://serverX.example.com/owndir
Create a directory named as “owndir” under the document root of webserver
Download station.network0.example.com/pub">
http://station.network0.example.com/pub/rhce/restrict.html
Rename the file into ondex.html
The content of the owndir should be visible to everyone browsing from your local system but should not be accessible from other location
Solution:
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
Via nfs service share the /common directory in your system, just doing ONE share in example.com domain. Answer:
Please see explanation
Solution:
Does this meet the goal?
Correct Answer:A