文件操作 - lynis.timer
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/lynis-3.0.7/systemd/lynis.timer
编辑文件内容
################################################################################# # # Lynis timer file for systemd # ################################################################################# # # - Place this file together with the lynis.service file in the related # systemd directory (e.g. /etc/systemd/system) # # - Tell systemd you made changes # systemctl daemon-reload # # - Enable and start the timer (so no reboot is needed): # systemctl enable --now lynis.timer # ################################################################################# [Unit] Description=Daily timer for the Lynis security audit and vulnerability scanner [Timer] OnCalendar=daily RandomizedDelaySec=1800 Persistent=false [Install] WantedBy=timers.target #EOF
修改文件时间
将文件时间修改为当前时间的前一年
删除文件