Install LSAT in Ubuntu
sudo apt-get install lsat
Open the terminal and run lsat with the following options for test
-d diff current and old md5 runs, output in lsatmd5.diff
-m <distribution> Force a specific distribution test Names
are: redhat, debian, mandrake, solaris, gentoo
-h Show LSAT help
-a Show LSAT advanced help
-o <filename> Output filename, default is last.out
-r Check rpm integrity. RedHat or Mandrake only.
-s Be silent. No output at all.
Filename is a text file consisting of modules to
exclude from being run. This should be a comma,
tab or newline delimited file, with just the name(s)
below one wishes to exclude.
Module names (with a small description) are:
bpass check for bootloader passwd
cfg check runlevel daemons (redhat)
dotfiles check for dotfiles
files check for sticky bits, etc
forward check for network forwarding
ftpusers check ftpusers file for bad entries
inetd check for unneeded services
inittab check runlevel, etc.
ipv4 check for other things in ipv4
issue check issue banner
kbd check kbd/login perms
limits check limits file
logging check for enough logging
md5 perform md5 of all files on sys
modules check for loadable kern mod.
net check network
open check open files
passwd check passwd file for bad entries
perms check permissions on files
pkgs check for unwanted packages
promisc are we in promisc mode?
rc check for unwanted rc files
rpm perform rpm integrity check
securetty check secure tty
set check for SUID files
ssh check ssh config
startx check for tcp listening in X
umask check default umask
write check world read/write files
www output in html
-v Be verbose about it.
-w Output file is in html format.