LPI 102-500 Practice Test - Questions Answers, Page 6
List of questions
Related questions
Question 51

Which of the following fields are available in both the global /etc/crontab file as well as in userspecific crontab files? (Select TWO correct answers)
Question 52

Which command can be used to delete a group from a Linux system?
Question 53

What is the purpose of the iconv command?
Question 54

In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
Explanation:
The /etc/cron.allow and /etc/cron.deny files are used to control access to the crontabcommand and cron jobs for individual users.If neither of these files exists, then depending onsite-dependent configuration parameters, only the superuser (root user) will be allowed to usethis command, or all users will be able to use this command1.The default behavior of mostLinux distributions is to allow all users to use the crontab command and have user specificcrontabs if neither /etc/cron.allow nor /etc/cron.deny exists23. Therefore, option B is thecorrect answer. The other options are not true because:Option A is false because it contradicts the default behavior of most Linux distributions.Option C is false because the cron daemon will not refuse to start or report missing files in thesystem's logfile if neither /etc/cron.allow nor /etc/cron.deny exists.The cron daemon will start
normally and use the default configuration parameters1.Option D is false because the system administrator does not need to approve user specificcrontabs explicitly.The user can create, edit, display, or remove their own crontab files withoutany intervention from the system administrator1.Reference:How cron.allow and cron.deny can be used to limit access to crontab for a particular user | TheGeek Searchcrontab(1) --- cron --- Debian bullseye --- Debian ManpagesControlling Access to crontab (System Administration Guide: Basic Administration) - Oracle/etc/cron.allow - Linux Bash Shell Scripting Tutorial Wiki - nixCraft
Question 55

Which of the following commands can remove a user from a group?
Question 56

Where are user specific crontabs stored?
Question 57

Which file contains the date of the last change of a user's password?
Question 58

Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)
Question 59

Each entry in a crontab must end with what character?
Question 60

To prevent a specific user from scheduling tasks with at, what should the administrator do?
Question