Linux/Unix Devices
Most data collection instructions involve commands run at the command line, also referred to as a terminal. These instructions assume the user has some familiarity using the command line, but additional help is available under (in the sidebar) Data Collection/Additional Help. If your organization has any questions regarding data collection that this document does not cover, contact Xylok support.
These instructions apply to most Unix-like systems that have POSIX shells (SH, ASH, BASH, etc) by default including:
- Red Hat Enterprise Linux 5, 6, 7, and 8
- SUSE Linux
- Ubuntu
- Solaris
They will also work for CSH-based systems, although the script files may have a .csh extension and need to be run via csh rather than sh.
These are the basic steps that need to be accomplished:
-
Copy the collection script (xylok-collect.sh) to a location writable by the host by checked.
a. The user’s home directory, /tmp, or an NFS mount are good choices. b. If scanning many machines, a network share that all the machines can access is an especially good choice—you will avoid the need to SCP script and result files around the network. c. Making a new directory inside one of these locations makes removing any Xylok files easier.
-
In a terminal, navigate to the directory the script is in
-
Become root
-
Collect data by running
sh xylok-collect.sh
-
Copy the results file called
xylok-results-<machine info>.xylok
off the system and to the Xylok Scanner host -
Remove all Xylok files from the host (if desired), by running
rm xylok*
-
Upload the results. See Uploading and Importing Data.