- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Trying to get security tool COPS to work.
Operating System - HP-UX
1820317
Members
2370
Online
109623
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 05:47 AM
тАО06-19-2003 05:47 AM
Hi,
I download the lastest cops security tool from their website. I un-gzipped it, un tarred it. I read the README file and it says that I can run in 2 different ways.
1st: By compiling it.
2nd: By running the perl version.
I decided to try the perl version. I had to edit the cops executiable to put the location of my perl at the beginning of the script. (/opt/perl/bin/perl)
the first step, it says to run ./reconfigure.pl (which I ran) and nothing happens.
Then, it says that cops should work. I run ./cops and get the following 3 error messages.
Precedence problem: open CONFIG should be open(CONFIG) at ./cops line 86.
Precedence problem: open FILE1 should be open(FILE1) at ./cops line 222.
Precedence problem: open FILE2 should be open(FILE2) at ./cops line 223.
Any help is much appreciated.
Here is what is on line 86.
line 86:
----> open CONFIG || die "can't open $CONFIG: $!";
Any help is much appreciated
I download the lastest cops security tool from their website. I un-gzipped it, un tarred it. I read the README file and it says that I can run in 2 different ways.
1st: By compiling it.
2nd: By running the perl version.
I decided to try the perl version. I had to edit the cops executiable to put the location of my perl at the beginning of the script. (/opt/perl/bin/perl)
the first step, it says to run ./reconfigure.pl (which I ran) and nothing happens.
Then, it says that cops should work. I run ./cops and get the following 3 error messages.
Precedence problem: open CONFIG should be open(CONFIG) at ./cops line 86.
Precedence problem: open FILE1 should be open(FILE1) at ./cops line 222.
Precedence problem: open FILE2 should be open(FILE2) at ./cops line 223.
Any help is much appreciated.
Here is what is on line 86.
line 86:
----> open CONFIG || die "can't open $CONFIG: $!";
Any help is much appreciated
Si tu n'as pas ce que tu aimes, aimes ce que tu as.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 06:00 AM
тАО06-19-2003 06:00 AM
Re: Trying to get security tool COPS to work.
I know what you mean I tried to get cops going some time ago, rather unsuccessfully. I keep meaning to go back to it.
Did you try making the change it suggested (perhaps taking a copy first)? Did that just throw up more errors?
Did you try making the change it suggested (perhaps taking a copy first)? Did that just throw up more errors?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 06:28 AM
тАО06-19-2003 06:28 AM
Re: Trying to get security tool COPS to work.
hmm...shouldn't it be :
open($CONFIG) (just guessing)?
open($CONFIG) (just guessing)?
So computers don't think yet. At least not chess computers. - Seymour Cray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 06:47 AM
тАО06-19-2003 06:47 AM
Solution
Below are the steps that I posted before, and it worked for me.
- 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
The C/shell version of COPS had some problems and did not work for me.
- 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
The C/shell version of COPS had some problems and did not work for me.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP