代码样例

代码示例 1-1 small space 驱动程序控制流程

代码示例 2-1 small space 获得有关文件系统对象的信息

代码示例 2-2 small space 从正在运行的进程中收集信息

代码示例 2-3 small space 确定动态加载的应用程序

代码示例 2-4 small space 确定是否正在使用配置文件

代码示例 2-5 small space 确定哪些应用程序使用 RPC

代码示例 2-6 small space 验证 rusers 服务

代码示例 2-7 small space 确定使用 RPC 的应用程序的备选方法

代码示例 2-8 small space 确定哪些服务或应用程序拥有哪些端口

代码示例 2-9 small space 确定哪些进程正在使用文件和端口

代码示例 3-1 small space 将一个修补程序文件移动到 /opt/SUNWjass/Patches 目录

代码示例 3-2 small space 独立模式下命令行使用的样例

代码示例 3-3 small space 在独立模式下执行软件

代码示例 3-4 small space -h 选项输出样例

代码示例 3-5 small space -d driver 选项输出样例

代码示例 3-6 small space -H 选项输出样例

代码示例 3-7 small space -l 选项输出样例

代码示例 3-8 small space -o 选项输出样例

代码示例 3-9 small space -q 选项输出样例

代码示例 4-1 small space 手动更改的文件输出样例

代码示例 4-2 small space 可撤消的运行操作的输出样例

代码示例 4-3 small space 撤消运行操作处理多个清单文件条目的输出样例

代码示例 4-4 small space 撤消异常的输出样例

代码示例 4-5 small space 在撤消过程中选择备份选项的输出样例

代码示例 6-1 small space -h 选项输出样例

代码示例 6-2 small space -o 选项输出样例

代码示例 6-3 small space -q 选项输出样例

代码示例 6-4 small space 仅报告审计失败的输出样例

代码示例 6-5 small space 审计日志条目的输出样例

代码示例 6-6 small space 审计运行操作的输出样例

代码示例 7-1 small space 在 JumpStart 服务器上添加一台客户机

代码示例 7-2 small space 创建一个配置文件

代码示例 7-3 small space 修改的脚本的输出样例

代码示例 7-4 small space 检查 rules 文件以纠正错误

代码示例 7-5 small space rules 文件的输出样例

代码示例 7-6 small space 错误脚本样例

代码示例 7-7 small space 正确脚本样例

代码示例 7-8 small space 修改的 xsp-firewall-hardening.driver 输出样例

代码示例 7-9 small space 评估安全性配置