head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2004.08.29.00.45.49;	author mharo;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Add opieprint

output postscript with 100 OPIE passwords credit card sized
@
text
@--- opieprint.orig	Sat Aug 28 13:15:12 2004
+++ opieprint	Sat Aug 28 13:20:52 2004
@@@@ -25,11 +25,11 @@@@
 
 ########################## Configurable Parameters #######################
 
-$dir="/usr/local/bin";		# dir containing opieinfo & opiekey
+$dir="/usr/bin";		# dir containing opieinfo & opiekey
 
 ##########################################################################
 
-$ENV{'PATH'}='/bin:/usr/bin:/usr/ucb';
+$ENV{'PATH'}='/bin:/usr/bin';
 $|=1;				# unbuffer stdout
 
 $max = 100;			# default max seq number is 100
@@@@ -49,7 +49,7 @@@@
 }
 
 # get user from: cmdline or ENV or getlogin
-$username = $ARGV[0] || $ENV{'USER'} || $ENV{'LOGNAME'} || getlogin();
+$username = $ARGV[0]; # || $ENV{'USER'} || $ENV{'LOGNAME'} || getlogin();
 $username =~ /(\w+)/;
 $username = $1;
 
@
