install

来自「项目描述: Env_audit is a program that ferret」· 代码 · 共 23 行

TXT
23
字号
The cron daemon runs shells with other user's identity. To see what environment the cron daemon gives us, change to or login as the user youwant to audit.Note what time it is. Then type /usr/bin/crontab -eAdd about 3-4 minutes to the current time and put it in the cron table. Tostart editing, type 'i'. For example, if it is 7:51 am, you would type:55 7 * * * full_path_to/env_auditThen hit the escape key, and type wq to save and exit. You can check that the cron entry was written by running /usr/bin/crontab -l. The audit will run shortly.IMPORTANT: After running the audit, be sure to type:/usr/bin/crontab -rin order to remove the env_audt entry from the cron table...otherwise it will run again everyday.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?