Applies to:
All versions of Centrify DirectControl
Question:
What are the files in the /var/lib/dzdo/lectured directory? Are they safe to remove?
Answer:
The /var/lib/dzdo/lectured directory and the files inside are created by the Centrify adclient. When a user runs dzdo -i the first time, and a password is required to permit the privileged elevation, the adclient will print out a "lecture" similar to the one seen below
Depending on the adclient configuration, this lecture can be delivered never, once or always. The files in /var/lib/dzdo/lectured are created to keep track of which users have received the lecture, so if the configuration is to deliver the lecture once, it is not delivered again.
The 0 length files are owned by root with the users primary group as the group owner. The files can be removed safely. The next time the user uses a dzdo command with a password prompt, the lecture will be redelivered and the file recreated.
The parameters that control the lecture functionality in /etc/centrifydc/centrifydc.conf are:
dzdo.lecture
dzdo.lecture_file
More information about these parameters can be found in the Centrify Configuration and Tuning Reference Guide. Instructions on disabling the lecture can be found in KB-1796: How to turn off dzdo lecture?