cron.sh is a script that should be located on the /rootdirectory. The script should complete the following.
-
Deploys a cronjob that runs every minute the followingfile:
script.sh. It should be located on the /root directory
-
Make a script,script.sh that will update allusers postalcode attribute in the ldap entry for said user to thecurrent time
i.e After one minute our test account roary001 will update thepostalcode as shown below
@ 12:45
uid roary001
…
postalcode 01245
@ 12:46
uid roary001
…
postalcode 01246
Answer