Code Samples |
CODE EXAMPLE 1-1 Driver Control Flow Code
CODE EXAMPLE 2-1 Obtaining Information About File System Objects
CODE EXAMPLE 2-2 Collecting Information From a Running Process
CODE EXAMPLE 2-3 Identifying Dynamically Loaded Applications
CODE EXAMPLE 2-4 Determining if a Configuration File Is In Use
CODE EXAMPLE 2-5 Determining Which Applications Use RPC
CODE EXAMPLE 2-6 Validating rusers Service
CODE EXAMPLE 2-7 Alternative Method for Determining Applications That Use RPC
CODE EXAMPLE 2-8 Determining Which Ports Are Owned by Services or Applications
CODE EXAMPLE 2-9 Determining Which Processes Are Using Files and Ports
CODE EXAMPLE 3-1 Moving a Patch File to /opt/SUNWjass/Patches Directory
CODE EXAMPLE 3-2 Sample Command-Line Usage in Stand-alone Mode
CODE EXAMPLE 3-3 Executing the Software in Stand-alone Mode
CODE EXAMPLE 3-4 Sample -c Option Output
CODE EXAMPLE 3-5 Sample -h Option Output
CODE EXAMPLE 3-6 Sample -d driver Option Output
CODE EXAMPLE 3-7 Sample -H Option Output
CODE EXAMPLE 3-8 Sample -l Option Output
CODE EXAMPLE 3-9 Sample -o Option Output
CODE EXAMPLE 3-10 Sample -q Option Output
CODE EXAMPLE 4-1 Sample Output of Files That Were Manually Changed
CODE EXAMPLE 4-2 Sample Output of Runs Available to Undo
CODE EXAMPLE 4-3 Sample Output of an Undo Run Processing Multiple Manifest File Entries
CODE EXAMPLE 4-4 Sample Output of Undo Exception
CODE EXAMPLE 4-5 Sample Output from Choosing Backup Option During Undo
CODE EXAMPLE 4-6 Sample Output of Choosing Always Backup Option During Undo
CODE EXAMPLE 6-1 Sample -h Option Output
CODE EXAMPLE 6-2 Sample -o Option Output
CODE EXAMPLE 6-3 Sample -q Option Output
CODE EXAMPLE 6-4 Sample Output of Reporting Only Audit Failures
CODE EXAMPLE 6-5 Sample Output of Auditing Log Entries
CODE EXAMPLE 6-6 Sample Output of Audit Run
CODE EXAMPLE 7-1 Adding a Client to the JumpStart Server
CODE EXAMPLE 7-2 Creating a Profile
CODE EXAMPLE 7-3 Sample Output of Modified Script
CODE EXAMPLE 7-4 Checking the rules File for Correctness
CODE EXAMPLE 7-5 Sample Output for rules File
CODE EXAMPLE 7-6 Sample of Incorrect Script
CODE EXAMPLE 7-7 Sample of Correct Script
CODE EXAMPLE 7-8 Sample Output of Modified xsp-firewall-hardening.driver
CODE EXAMPLE 7-9 Assessing a Security Configuration
Copyright © 2005, Sun Microsystems, Inc. All Rights Reserved.