1.3 KiB
1.3 KiB
RHCSA 1.7: System documentation
Man page sections, finding a setting without the internet, the man page index, and the documentation a package installs.
Before you start
The lab moves the man page index away (/var/cache/man/index.db), so
man -k and whatis find nothing until you rebuild it in task 3. Write
your findings to the files in /root/lab-answers/ named in the tasks.
Tasks
- Find which man page section documents the format of
/etc/crontab, and open that page. Write the section number to/root/lab-answers/1. - Without the internet, find the
sshd_configkeyword that sets the maximum number of authentication attempts per connection. Write the keyword and its current value, assshd -Tshows them (for examplelogingracetime 120), to/root/lab-answers/2. - As root, rebuild the man page index, then search it for timers.
man -k timershould listsystemd.timer (5). - List every documentation file installed by the
sudopackage and find its example sudoers file. Write its full path to/root/lab-answers/4.
Hints
man -k crontabandwhatis crontabneed the index (task 3);man -aw crontablists the pages without it. Section 5 is file formats.man sshd_config, then/to search;sudo sshd -T | grep -i.mandb.rpm -qd sudo.