五指山市网站建设_网站建设公司_无障碍设计_seo优化
2025/12/17 12:34:31 网站建设 项目流程

监控管理用户与SSA磁盘识别

监控管理用户的脚本

在系统管理中,我们经常需要对用户操作进行审计。下面介绍的脚本可以通过简单修改用户名和脚本名,快速设置一个类似broot类型的shell脚本。

脚本中使用了大量变量,将被监控用户称为有效用户,使用变量$EFF_USER表示,这里默认设置为oracle,你可以根据需要修改。

以下是boracle脚本的代码:

#!/bin/ksh # # SCRIPT: “Banybody” boracle - This time # # AUTHOR: Randy Michael # DATE: 05/08/2002 # REV: 1.0.P # PLATFOEM: Any Unix # # PURPOSE: This shell script is used to capture all “$EFF_USER” # access by capturing all of the terminal data in a log # file using the script command. This shell script is # executed from the command line using sudo (Super User Do). # The log file is kept locally and emailed to a log file #

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询