Operating System - HP-UX
1827289 Members
3178 Online
109717 Solutions
New Discussion

Re: Troubles running COPS

 
Justin Glass
Occasional Contributor

Troubles running COPS

I'm having troubles getting Cops to run on my HPUX 10.20 machines. I loaded the cops program, vi COPS to change those two SECURE lines in the cops file and saved the file. I performed ./reconfig to change the paths for all of the .chk area, and performed a make all. When I tried to run cops using the ./cops -v the program just sits and there, and if you check the processes running, it doesn't even appear to be running. What do you guys recommend.
1 REPLY 1
Elena Leontieva
Esteemed Contributor

Re: Troubles running COPS

Justine,

Below are the steps I did to install COPS on 11.00:

- obtain cops.1.04.tar from www.cerias.purdue.edu
- mkdir /secure/cops
- download cops.1.04.tar in /secure/cops
- in /secure/cops do tar xvf cops.1.04.tar
- cd /secure/cops/cops_104/perl
- edit two lines:
/secure/cops/cops_104/perl/cops.cf as
line 12: $SECURE_USERS="root"
/secure/cops/cops_104/perl/roo.chk as
line 78: $ftp='/etc/ftpd/ftpusers'
- execute COPS with Perl v.4.
- /usr/contrib/bin/perl cops -x
- find portential problems in
/secure/cops/cops_104/perl/hostname/year_mon_date

I went through all that last year with success. The C/shell version of COPS had some problems and did not work for me. Could be newer version of COPS available but I did not try it.

Elena.