[comp.lang.perl] Is this a joke??

muts@fysap.fys.ruu.nl (Peter Mutsaers) (06/23/91)

After running this version of cops I saw the following warning which made
me quite nervous:


Warning!  Passwd file, line 2, user stroot has uid == 0 and is not root 
          stroot:QXCAyBt4zMwoE:0:1:The root of all evil:/:/bin/csh  
Warning!  Passwd file, line 21, no password:  
          df::3271:78:Dan Farmer:/usr/users/df:/usr/local/bin/tcsh             

User df and stroot do not exist in my /etc/passwd, but I tought something 
very tricky was going on. Especially since we do have /usr/local/bin/tcsh
installed, and "The root of all evil" occurs in /etc/passwd too.

Until I saw the author of cops is Dan Farmer.
Is this an intended joke or what?
--
Peter Mutsaers                          email:    muts@fys.ruu.nl     
Rijksuniversiteit Utrecht                         muts@fysak.fys.ruu.nl
Princetonplein 5                          tel:    (+31)-(0)30-533880
3584 CG Utrecht, Netherlands                                  

df@sei.cmu.edu (Dan Farmer) (06/23/91)

In article <muts.677621435@fysaq>, muts@fysap.fys.ruu.nl (Peter Mutsaers) writes:
> After running this version of cops I saw the following warning which made
> me quite nervous:
[...]
> Is this an intended joke or what?


  No, the joke is on me :-)  I accidently put in my test file in the
post; as an alternate method of using other password files other than
the system default, I let you put the following line (26, I think)
in cops.cf:

$GET_PASSWD	= '/bin/cat passwd';

  It should be commented out, or whatever you would like instead of
/bin/cat passwd; it is intended for checking alternate password files,
such as shadow pass, etc.  I included my own test password file, which,
of course, includes my name.  Hope this clears things up; sorry...

 -- dan