[root@RHIS-CCBS-BILLDB-01 audit]# sh script.sh
Extraction of system information\n\n
Extraction completed. Output file is "ACTT_CONFIG_SETTINGS.actt"\n
Extraction of /etc/passwd file\n
Extraction completed. Output file is "etc_passwd.txt"\n
Extraction of /etc/group file\n
Extraction completed. Output file is "etc_group.txt"\n
Extraction of /etc/security/user file\n
Extraction completed. Output file is "etc_security_user.txt"\n
Extraction of /etc/security/passwd file\n
Extraction completed. Output file is "etc_security_passwd.txt"\n
Extraction of /etc/sudoers file\n
Extraction completed. Output file is "etc_sudoers.txt"\n
Extraction of sulog file\n
Extraction completed. Output file is "etc_adm_sulog.txt"\n
Extraction of inetd.conf file\n
Extraction completed. Output file is "etc_inetd_conf.txt"\n
Extraction of /etc/services file\n
Extraction completed. Output file is "etc_services.txt"\n
Extraction of /etc/protocols file\n
Extraction completed. Output file is "etc_protocols.txt"\n
Extraction of /etc/hosts.equiv file\n
Extraction completed. Output file is "etc_hosts_equiv.txt"\n
Extraction of .rhosts files\n
Extraction completed. Output file is "rhosts.txt"\n
Extraction of at.allow file\n
Extraction completed. Output file is "var_adm_cron_at_allow.txt"\n
Extraction of at.deny file\n
Extraction completed. Output file is "var_adm_cron_at_deny.txt"\n
Extraction of cron.deny file\n
Extraction completed. Output file is "etc_group.txt"\n
Extraction of cron.allow file\n
Extraction completed. Output file is "var_adm_cron_cron_allow.txt"\n
Extraction of cron job files\n
ls: /var/spool/cron/crontabs: No such file or directory
Extraction of at job files\n
ls: /var/spool/cron/atjobs: No such file or directory
Gathering user information\n
Extracting permissions of critical files\n
Extraction completed. Output file is "file_perms.txt"\n
Installed softwares history\n
Extraction of syslog.conf fiile\n
Extraction completed. Output file is "etc_syslog_conf.txt"\n
Extraction of failedlogin file\n
Extraction completed. Output file is "etc_security_failedlogin.txt"\n
Extraction of lastlog file\n
Extraction completed. Output file is "etc_security_lastlog.txt"\n
Extraction of /etc/hosts.allow file\n
Extraction completed. Output file is "etc_hosts_allow.txt"\n
Extraction of /etc/hosts.deny file\n
Extraction completed. Output file is "etc_hosts_deny.txt"\n
Extraction of /etc/ftpusers file\n
Extraction completed. Output file is "etc_ftpusers.txt"\n
Extraction of /etc/ftpd/ftpusers file\n
Extraction completed. Output file is "etc_ftpd_ftpusers.txt"\n
Extraction of /var/adm/messages file\n
Extraction completed. Output file is "var_adm_messages.txt"\n
Extraction of /etc/ssh/sshd_config file\n
Extraction completed. Output file is "etc_ssh_sshd_config.txt"\n
\n\n Extraction of umask values from user's home directories
\n Extraction completed. Output file is "user_mask.txt"\n
\n\nFile permissions of /var/adm/cron, /var/spool/cron/crontabs & /var/spool/cro                n/atjobs directories
\n\nExtraction Completed. Output file is "cron_perms.txt"\n
script.sh: line 349: compress: command not found
cp: cannot stat `Output.tar.Z': No such file or directory